https://github.com/benlau/testrunner
Qt Test Runner - A tiny tool to execute multiple QTestLib application and combine the testing result into a summary report.
https://github.com/benlau/testrunner
Last synced: 8 months ago
JSON representation
Qt Test Runner - A tiny tool to execute multiple QTestLib application and combine the testing result into a summary report.
- Host: GitHub
- URL: https://github.com/benlau/testrunner
- Owner: benlau
- Created: 2011-03-28T06:32:27.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T17:11:37.000Z (over 9 years ago)
- Last Synced: 2025-03-27T04:38:29.279Z (8 months ago)
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-qt-qml - testrunner - Qt Test Runner - A tiny tool to execute multiple QTestLib application and combine the testing result into a summary report. (Testing)
README
Qt Test Runner - A tiny tool to execute multiple QTestLib application and combine the testing result into a summary report.
**This project is not maintained any more. It is replaced by [testable](https://github.com/benlau/testable)**
License : BSD
A example program to teach how to use the TestRunner class.
Directory:
```
runner/ The code integrated with TestRunner. It will run other test
testa/ Test program A
testb/ Test program B
```
Instruction:
1. In Qt Creator , open testrunner.pro in this folder
2. Build
3. Set the run executable to 'runner'
4. Run the test. You are expected to see:
```
********* Start testing of TestA *********
Config: Using QTest library 4.7.2, Qt 4.7.2
PASS : TestA::initTestCase()
PASS : TestA::simple()
FAIL! : TestA::fail() 'false' returned FALSE. ()
Loc: [../../testrunner/testa/tst_testa.cpp(26)]
PASS : TestA::cleanupTestCase()
Totals: 3 passed, 1 failed, 0 skipped
********* Finished testing of TestA *********
********* Start testing of TestB *********
Config: Using QTest library 4.7.2, Qt 4.7.2
PASS : TestB::initTestCase()
PASS : TestB::complex()
PASS : TestB::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped
********* Finished testing of TestB *********
FAIL! : Can not start "../testc/tst_testc"
Totals: 6 passed, 2 failed, 0 skipped
********* Finished testing *********
```