I use googletest for C++ unit testing. I have defined multiple classes deriving from ::testing::Test
, each of which has multiple test functions defined with TEST_F
.
I run them all with
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
When debugging, I'd like to focus on a specific test case. Is it possible to run only a specific Test
or TEST_F
?