hspec-golden-aeson-0.1.0.0: Use tests to monitor changes in Aeson serialization

Safe HaskellNone
LanguageHaskell2010

Test.Aeson.Internal.ADT.GoldenSpecs

Synopsis

Documentation

goldenADTSpecs :: forall a. (ToADTArbitrary a, Eq a, Show a, Arbitrary a, ToJSON a, FromJSON a) => Int -> Proxy a -> Spec Source #

for a type a, create a set of golden files if they do not exist, compare with golden file if it exists. Golden file encodes json format of a type