Files
static-site-pipeline/hugo/content/posts/2025-06-17-woofware-expect.md
2025-06-16 23:47:30 +01:00

1.1 KiB

lastmod, author, categories, date, title, summary
lastmod author categories date title summary
2025-06-17T00:00:00.0000000+01:00 patrick
programming
2025-06-17T00:00:00.0000000+01:00 Announcing WoofWare.Expect A basic but functional expect-testing framework for F#.

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).