Registry / testing / goldenfile

goldenfile

JSON →
library1.11.0rscratesunverified

Simple goldenfile testing library

# Cargo.toml [dependencies] goldenfile = "1.11.0"
INSTALL
IMPORT
SIG · GOLDENFILE
G
goldenfile
testingrustv1.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

diff
use goldenfile::diff;

Compare actual output against a golden file.

use goldenfile::diff; let expected = "expected output"; let actual = "actual output"; diff("test_name", &expected, &actual);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
goldenfile — cargo add goldenfile · libregistry