skeletest-0.4.0: Batteries-included, opinionated test framework
Safe HaskellNone
LanguageGHC2021

Skeletest.Internal.Snapshot

Synopsis

Predicate

matchesSnapshot :: forall a (m :: Type -> Type). (Typeable a, MonadIO m) => Predicate m a Source #

A predicate checking if the input matches the snapshot. See the "Snapshot tests" section in the README.

>>> user `shouldSatisfy` P.matchesSnapshot

Rendering

SnapshotFile

data SnapshotFile Source #

Constructors

SnapshotFile 

Fields

Instances

Instances details
Show SnapshotFile Source # 
Instance details

Defined in Skeletest.Internal.Snapshot

Eq SnapshotFile Source # 
Instance details

Defined in Skeletest.Internal.Snapshot

Plugin