everyone.
In my specific Clion project, I have several cpp Unit Tests files (google tests), each of them with its main. I'm searching a way to run all unit tests of the project in a easy way. In this moment, I'm only able to run each target separately and I don't want to create a unique main for all tests.
OBS: The cpp unit test files is organizing in different folders inside of a "tests" folder.
How can anyone help me?
Note that CLion simply uses CMake to drive the build.
run-all-testsdepending onrun-each-test. - Antonio Pérezmainfunction in a googletest test suite. Why do you want to fight it? - Mike Kinghan