Hello Together,
I have implemented a serie of unit tests for a tool with different modules. Until now everything was working fine. I have many times added a new module to my cmakelists and the test defined for these modules ran well. Only this time I have introduced a new module implementing my connections to mysql using its c++ connector. Any test I define usinga class from that directory is not beeing runned by GTEST. But when I define in the same files a test with the test case name beeing the class of a previously existin module for which the test was already working, then that test is called by GTEST wirthout problem.
Please as this problem makes no sense to me , I have no idea on how to debug it or why Gtest is not running the later tests. Even when I define a class locally in one of this file, it doesn't work. The funny thing is that , if I define a test with the same name as a test from another module that works fine, the compiler detect the collision and give out an error message.
So the file and its test are well loaded by the cmakelists and compiled.
Can Anyone give me some good advice on how to proceed!?
Best regards!
Armand Moutchiho