test-framework-skip-1.0: Functions for conveniently marking some of the tests in a suite as being skipped.

Safe HaskellSafe-Inferred

Test.Framework.Skip

Synopsis

Documentation

skip :: Test -> TestSource

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.)