varar_runner/lib.rs
1//! `varar-runner` — the imperative shell shared by var test-runner adapters.
2//!
3//! Oath discovery (the shared glob semantics), planning/running examples,
4//! failure rendering, and the filesystem `varar.lock.json` baseline store for
5//! drift. Contains no pipeline logic — it delegates to `varar-core`. Steps are
6//! supplied by the caller (Rust compiles step files in; there is no dynamic
7//! `load_steps`), as a `Registry` plus a context factory.
8//!
9// `run_example` surfaces varar-core's `StepFailure` by value, matching that
10// crate's own `#![allow(clippy::result_large_err)]` public-API choice.
11#![allow(clippy::result_large_err)]
12
13pub mod baseline_store;
14pub mod discovery;
15pub mod render;
16pub mod results;
17pub mod run;
18
19pub use baseline_store::FileBaselineStore;
20pub use discovery::{find_oaths, match_oath};
21pub use render::render_failure;
22pub use results::{Results, result_file_path, write_oath_results};
23pub use run::{example_names, plan_oath, run_example};