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
We are using GTEST for very many tests, however all test in our test case
definition are linked together and executed. Unfortunately, some tests can
only be executed if the environment is correctly set up (must be done
manually). Therefore these tests are always failing, but in fact they could
not be executed.
Would it be possible to the test case result "SKIPPED" as a new class to a
test case (maybe colored yellow ;-) to abort a test if it determines it
cannot be executed in this environment?
Original issue reported on code.google.com by [email protected] on 2 Jul 2009 at 5:30
The text was updated successfully, but these errors were encountered:
+1 -- this would be awesome. Typical use case would be testing a library that
might do things that require administrative privileges. If the tests are run as
a limited user, then the requiring-root tests would have a guard marking the
test as skipped if administrative privileges are absent.
Other xUnit style testing frameworks often call this state
"Assert.Inconclusive()" or similar.
Original issue reported on code.google.com by
[email protected]
on 2 Jul 2009 at 5:30The text was updated successfully, but these errors were encountered: