rskit-testutil 0.2.0-alpha.4

Test utilities, mock providers, and assertion helpers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Generic golden/snapshot verification: normalization, matcher tiers, and
//! golden-file read/compare/bless.
//!
//! The module is domain-agnostic: callers supply the normalization [`Rule`]s,
//! pick a [`Match`] tier per comparison, and point a [`Golden`] at the expected
//! file. Setting the [`BLESS_ENV`] environment variable regenerates goldens
//! from live output instead of failing on mismatch.

mod diff;
mod file;
mod matcher;
mod normalize;

pub use file::{BLESS_ENV, Golden, GoldenMode, GoldenOutcome};
pub use matcher::Match;
pub use normalize::{Normalizer, Rule};