tasty-golden-2.2.1: Golden tests support for tasty

Safe HaskellNone

Test.Tasty.Golden.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» mod

Constructors

AcceptTests Bool 

Programmatic API

acceptGoldenTests :: OptionSet -> TestTree -> IO ()Source

Accept all golden tests in the test tree