You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because each test method is registered separately, when I want to run a whole test case from the Test Navigator, multiple calls to RUN_ALL_TESTS() will be made (one for each test in the test case). This has the undesirable effect that SetUpTestCase & TearDownTestCase are now broken, instead of being called once per test case, they are called once per test method (just like SetUp/TearDown). I don't know how to fix this, otherwise I would have created a pull request :-)
The gtest filter allows using a test case name as a valid filter and has the desired result - runs all the enabled tests in that case. The problem I couldn't figure out is how to create a selector for the test case itself (as opposed to individual methods) that is invoked when I click the "play" arrow in the Test Navigator on the test case.
The text was updated successfully, but these errors were encountered:
Because each test method is registered separately, when I want to run a whole test case from the Test Navigator, multiple calls to RUN_ALL_TESTS() will be made (one for each test in the test case). This has the undesirable effect that SetUpTestCase & TearDownTestCase are now broken, instead of being called once per test case, they are called once per test method (just like SetUp/TearDown). I don't know how to fix this, otherwise I would have created a pull request :-)
The gtest filter allows using a test case name as a valid filter and has the desired result - runs all the enabled tests in that case. The problem I couldn't figure out is how to create a selector for the test case itself (as opposed to individual methods) that is invoked when I click the "play" arrow in the Test Navigator on the test case.
The text was updated successfully, but these errors were encountered: