Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test.Syd.Runner
Description
This module defines how to run a test suite
Synopsis
- withNullArgs :: IO a -> IO a
- sydTestResult :: Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest)
- sydTestOnce :: Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest)
- sydTestIterations :: Maybe Word -> Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest)
- setPseudorandomness :: SeedSetting -> IO ()
- module Test.Syd.Runner.Asynchronous
- module Test.Syd.Runner.Synchronous
Documentation
withNullArgs :: IO a -> IO a Source #
Set the command line argument of the underlying action to empty.
The action behaves as if no command line argument were provided. Especially, it removes all the arguments initially provided to sydtest and provides a reproducible environment.
sydTestResult :: Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest) Source #
sydTestOnce :: Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest) Source #
sydTestIterations :: Maybe Word -> Settings -> TestDefM ('[] :: [Type]) () r -> IO (Timed ResultForest) Source #
setPseudorandomness :: SeedSetting -> IO () Source #
module Test.Syd.Runner.Asynchronous
module Test.Syd.Runner.Synchronous