From: Stuart Henderson Subject: Re: [new] cargo-insta 1.43.2 To: Theo Buehler Cc: ports@openbsd.org Date: Wed, 1 Oct 2025 12:18:28 +0100 such a helpful upstream distfile name :) ok On 2025/10/01 12:12, Theo Buehler wrote: > Some projects use the cargo insta subcommand to curate snapshot tests. > It's getting tedious to build this on my machines. I only ever needed > the cargo subcommand, so that's what this port provides. > > The port is straightforward except that I haven't found a way to make > the 'functional' tests pass in offline mode. > > cargo subcommand for snapshot testing > > Description: > Snapshots tests (also sometimes called approval tests) are tests that > assert values against a reference value (the snapshot). This is similar > to how assert_eq! lets you compare a value against a reference value but > unlike simple string assertions, snapshot tests let you test against > complex values and come with comprehensive tools to review changes. > > Maintainer: The OpenBSD ports mailing-list > > WWW: https://github.com/mitsuhiko/insta/