See goldenTest1 for explanation of the fields.
Moduletasty-silver-3.3.2.1Haskell2010
Test.Tasty.Silver.Internal
- 7 types
- 9 values
- Packagetasty-silver-3.3.2.1
- Exports16
- LanguageHaskell2010
- LicenceMIT
- SourceInternal.hs
This option, when set to True, specifies that we should run in the «accept tests» mode.
Constructors
Instances3Eq, Ord, IsOption
Eq AcceptTestsDefined in tasty-silver-3.3.2.1 · Test.Tasty.Silver.InternalOrd AcceptTestsDefined in tasty-silver-3.3.2.1 · Test.Tasty.Silver.InternalIsOption AcceptTestsDefined in tasty-silver-3.3.2.1 · Test.Tasty.Silver.Internal
Read the file if it exists, else return Nothing. Useful for reading golden files.
The comparison/diff result.
Constructors
GREqualforall a. GRDifferent a a GDiff (Maybe (a -> IO ()))forall a. GRNoGolden (m a) (a -> IO GShow) (Maybe (a -> IO ()))
Instances1Show
Show (GoldenResult' m)Defined in tasty-silver-3.3.2.1 · Test.Tasty.Silver.Internal
Generic utilites
6 declarationsMonadic if.
Monadic if (not ...) ....
Short-cutting version of .liftM2 (&&)
Short-cutting version of .liftM2 (||)