Safe Haskell | Safe-Inferred |
---|
- skip :: Test -> Test
- skipTestCase :: String -> a -> Test
- skipTestGroup :: String -> [Test] -> Test
- skipTestProperty :: String -> a -> Test
Documentation
Causes the given test or test suite to be skipped, though it will still show up as being skipped when the suite is run. If given a test suite, skip
recursively applies it itself to the child tests and suites, all of which (except for the groups) will show up as being skipped
when the test suite is run.
skipTestCase :: String -> a -> TestSource
Instead of using the skip
function, you can change testCase
to skipTestCase
to cause the test to be skipped.
skipTestGroup :: String -> [Test] -> TestSource
Instead of using the skip
function, you can change testGroup
to skipTestGroup
to cause the test suite to be skipped.
skipTestProperty :: String -> a -> TestSource
Instead of using the skip
function, you can change testProperty
to skipTestProperty
to cause the test to be skipped. (Note that this work regardless of whether you are using QuickCheck or SmallCheck for this particular test.)