tasty-silver-3.0.0.1: Golden tests support for tasty. Fork of tasty-golden.

Safe HaskellNone
LanguageHaskell2010

Test.Tasty.Silver.Manage

Contents

Description

Golden test management

Synopsis

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» mode

Constructors

AcceptTests Bool 

Programmatic API

acceptGoldenTests :: OptionSet -> TestTree -> IO Bool Source

Accept all golden tests in the test tree