Hi,
The QTest tutorial from Qt docs have its own main method:
And again, to make our test case a stand-alone executable, the following two lines are needed:
QTEST_MAIN(TestQString)
#include "testqstring.moc"
But in my case I already have my own main method and only whishes to execute the tests should a test parameter provided to the program.
Thus, all tests are run in some order should a certain param be provided to the application.
How can I do this?
Thanks!
Bookmarks