use-test-snapshot 0.1.0

Snapshot identity and status primitives for RustUse testing vocabulary.
Documentation
  • Coverage
  • 10%
    2 out of 20 items documented1 out of 14 items with examples
  • Size
  • Source code size: 4.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 508.39 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-test
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-test-snapshot

Snapshot identity and status primitives for RustUse testing vocabulary.

Experimental

use-test-snapshot is experimental while use-test remains below 0.3.0.

Example

use use_test_snapshot::{TestSnapshotId, TestSnapshotStatus};

let snapshot = TestSnapshotId::new("homepage-empty-state-v1");

assert_eq!(snapshot.as_str(), "homepage-empty-state-v1");
assert_eq!(TestSnapshotStatus::default(), TestSnapshotStatus::Missing);

Scope

  • Snapshot identifiers, names, and versions.
  • Missing, created, matched, changed, accepted, and rejected status labels.

Non-goals

  • File I/O, golden-file writing, update commands, review workflows, or storage policy.

License

Licensed under either Apache-2.0 or MIT.