BSD Ports

devel/cargo-insta 1.49.0 OpenBSD

cargo subcommand for snapshot testing

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
ead35a9af5
Categories
devel, lang/rust

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.

Install

Binary package:

pkg_add cargo-insta

From the ports tree:

cd /usr/ports/devel/cargo-insta && make install

Dependencies

Build dependencies 2

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
ead35a9af5 tb Update to cargo-insta 1.49.0
https://github.com/mitsuhiko/insta/releases/tag/1.49.0