Skip to main content

Module testing

Module testing 

Source
Expand description

Specimen builders for the abstract test suite.

Building one valid trusted artifact means generating keys, assembling a trust graph, signing an anchor bundle, and co-signing the artifact — work every test surface (the Rust suites, the browser binding, examples) used to duplicate. This module owns the specimen kit so suites compose from it instead.

The module ships in the published crate on purpose: a separate test-support crate consumed as a dev-dependency would recreate the publish ordering deadlock (published crates must never dev-depend on a later-publishing workspace crate). It adds no dependencies beyond what confium-signatif already links.

Structs§

Fixture
A valid specimen: root-delegated end authority, signed anchor bundle, and a data-dimension co-signed artifact over it, plus the secret keys so tests can sign more, tamper, or re-issue.