Qt: run unit tests from multiple test classes and summarize the output from all of them
Qt comes with QTest , and there are some docs: for example, an official tutorial . However, QTest encourages you to organize unit tests as separate executables. There is special macro for this, that generates main() : QTEST_MAIN() To be honest, I really dislike this approach: generally, it is much more useful to run all tests at once, in order to make sure that recent changes haven't broken anything. Sometimes , it is useful to mask out some test or execute some individual test, but this is an exception, not the rule. So, I want to run all the tests at once. Ok, I can write my own main() that