aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-test-harness/src/lib.rs
blob: ea125cc88ba037e2910498d2e0eac713106d210c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Harness for Composer's `.test` integration fixture format.
//!
//! See `composer/tests/Composer/Test/Fixtures/installer/SAMPLE` and
//! `composer/tests/Composer/Test/InstallerTest.php` for the reference
//! implementation. This crate provides the parser and a binary-invoking
//! runner; actual `.test` fixtures and tests live elsewhere.

mod parser;
mod pool_builder_parser;
mod runner;

pub use parser::{ParsedTest, parse_test_file, parse_test_str};
pub use pool_builder_parser::{
    ParsedPoolBuilderTest, parse_pool_builder_test_file, parse_pool_builder_test_str,
};
pub use runner::{RunResult, run_test};