ouroboros-consensus:unstable-consensus-testlib
Safe HaskellNone
LanguageHaskell2010

Test.Util.Serialisation.CDDL

Synopsis

Documentation

cddlTestCase ∷ IO ByteString → FilePath → Text → TestTree Source #

A Tasty test case running the cuddle

cddlTest ∷ IO ByteString → String → Text → IO (Either String ()) Source #

Test the CDDL conformance of the given bytestring

isCDDLCDisabled ∷ Bool Source #

Windows on Hydra cannot cross-compile CDDLC so we decided to skip the tests there.

data CDDLsForNodeToNode Source #

A collection of CDDL spec and the relevant rule to use