serial-test-generators-0.1.2: Test your 'Aeson' 'Serialize' and 'Binary' instances for stability over time

Portabilitynon-portable (System.Posix)
Stabilityunstable
MaintainerScott Murphy
Safe HaskellNone

Test.Serial

Description

 

Documentation

runAesonSerializationTest :: (ToJSON a, FromJSON a) => a -> FilePath -> IO (Either TestError a)Source

runBinarySerializationTest :: Binary a => a -> FilePath -> IO (Either TestError a)Source

runCerealSerializationTest :: Serialize a => a -> FilePath -> IO (Either TestError a)Source

data TestError Source

Constructors

NoFileFound 
AesonError String 
BinaryError String 
CerealError String 

Instances