Announcing WoofWare.Expect
This is a linkpost for WoofWare.Expect, which implements expect testing in an F# computation expression. Go and read the README on GitHub if you’re interested.
As of this writing, the following are implemented:
- Comparison with existing inline snapshot
- Custom formatting of the snapshot (fully general
'T -> string
to override the default.ToString()
) - Specific support for JSON snapshotting using FSharp.SystemTextJson, including overriding the default ser/de settings
- “Bulk update” mode for mass regenerating snapshots in a test fixture (which is only slightly unwieldy).