The Qt framework offers Qt Test / QTestLib as a simple unit-testing framework for Qt-based projects. Perhaps too simple, as it comes with an annoying limitation that requires a separate executable for each test class, or creating a single test runner with a manually added call to each test suite.
A quick search shows easy and helpful workarounds that offer to replace the manual work with a short #include
and a macro. Then the test-runner remains untouched and finds all your test suites with these hints alone.
1]: http://qtcreator.blogspot.co.il/2009/10/running-multiple-unit-tests.html
2]: https://marcoarena.wordpress.com/2012/06/23/increase-your-qtest-productivity/
3]: https://github.com/e-j/qt-multiple-tests
In version 4.0 of QtCreator, the AutoTest plugin is made available to all, through the Community Edition of QtCreator. It offers a decent “Test Results” output pane that allows you to run and monitor th