Open jaques-sam opened 4 years ago
+1 I have the same problem now. Someone can help us? 😢
+1
+1
Was anybody able to resolve the issue? I am still getting empty test list
I got it working but forgot I made this issue :see_no_evil: The only thing I have in my settings which matters:
"C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json",
Not sure this will help!
My tests are located pretty nicely in
<repo_dir>/tests/*test.cpp
and all haveTEST(...)
calls, yet the list of tests in the Google Test View stays empty. Nothing in the config gives the gtest-adapter a hint where to find the google tests, so I imagine it scans for the whole repository?As I have different cmake settings for a target build, the unit tests are build within a separate directory. I have the feeling this has nothing to do with the problem.