Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.5.1, Qt Creator 4.8.0
-
Windows 10 x64, MSVC2015 32-bit
-
bcafe202c9f8a7c4bad4cf60095138b1d6cbf2ac
Description
The Qt TreeFrog library uses its own macros (TF_TEST_MAIN and TF_TEST_SQLLESS_MAIN) to declare unit tests. After creating sample test following the description on this page:
http://www.treefrogframework.org/en/user-guide/test/ the test it is not visible in Qt Creator.
If I copy the contents of TF_TEST_MAIN macro directly to the testblog.cpp file, the test is detected by QtCreator.
Here is the declaration of TF_TEST_MAIN and TF_TEST_SQLLESS_MAIN:
https://github.com/treefrogframework/treefrog-framework/blob/master/src/tftest.h