Using Multiple Classes with QtTest
Unsolved
General and Desktop
-
I want to have multiple test classes, and I want Qt Creator to see all of them. So far, none of the approaches I've come across get it quite right.
For example, if I choose to create a new project for each class, Qt Creator only shows the test from the currently active project.
And the only way to get it to show all available test classes is to include all the classes in one project and addQTEST_APPLESS_MAIN(...)
for each of them, but of course, they don't compile. Solutions I've found involve creating a custommain
function that handles multiple tests, but none of them are shown by Qt Creator. -
Hi,
What is the structure of your project ?
Are you using the SUBDIRS template ?