TestRunner class simplifies folding a Test. You need to specify the important semantic actions by instantiating this class, and runTestTree will take care of recursion and test filtering.
Methods
runSimpleTest :: (Testlike i r t, Typeable t) => TestOptions -> TestName -> t -> bHow to handle a single test
skipTest :: bHow to skip a test that doesn't satisfy the pattern
runIOTest :: IO (b, IO ()) -> bHow to handle an IO test (created with buildTestBracketed)
runGroup :: TestName -> [b] -> bHow to run a test group
Instances1TestRunner
TestRunner StdRunnerDefined in test-framework-0.8.2.2 · Test.Framework.Runners.Core