the Compartmented Robust Posix C++ Unit Test system | hosted by |
---|
Define a test that will not run. This is useful to prevent code-rot, if the prerequisites for the test are not fulfilled for the moment, but they are expected to be at a later stage.
Used in: Global or testsuite scope, instead of
TEST(name, ...)
.
The only difference between
TEST(name, ...)
and
DISABLED_TEST(name, ...)
is that a disabled test
will never run, and will not be listed as untested. It is also not
possible to state a dependency (see
DEPENDS_ON(...)
) to a disabled
test.