Hi

I was just looking at QtTest for unit testing but I must be missing something. Since each test will define its own main with the QTEST_MAIN(TestXXX) function. How do I set up the testing with many testcases, I can only have 1 main function?

Is it supposed to be used in another way. Preferably I would like to have the unittest even in the same project as my application, is there a way to compile the tests individually. How are you doing this.

Thanks