Safe Haskell | None |
---|
Golden test management
- defaultMain :: TestTree -> IO ()
- acceptingTests :: Ingredient
- newtype AcceptTests = AcceptTests Bool
- acceptGoldenTests :: OptionSet -> TestTree -> IO ()
Command line helpers
defaultMain :: TestTree -> IO ()Source
Like defaultMain
from the main tasty package, but also includes the
golden test management capabilities.
The ingredient
newtype AcceptTests Source
This option, when set to True
, specifies that we should run in the
«accept tests» mod
Programmatic API
acceptGoldenTests :: OptionSet -> TestTree -> IO ()Source
Accept all golden tests in the test tree