testtube.util.SkipTest¶
SkipTest
is a convenience wrapper around
testtube.errors.SkipTestError
. This can be useful in situations
where the testing environment does not allow for a test to execute successfully.
In cases like this, you can check for some condition in the module that
implements the test and set module.exports
appropriately based on whether or
not that condition was satisfied.
Class¶
-
class
testtube.util.
SkipTest
() extends:
testtube.Test
Properties¶
Methods¶
- ¶
This method overrides
testtube.Test.doTest
to throw aSkipTest
, usingdescription
for the errormessage
.