the Compartmented Robust Posix C++ Unit Test system |
|
---|
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 be listed as untested, and never run. A dependency on a disabled
test is handled as if the disabled test had succeeded (see
DEPENDS_ON(...)
.)