diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-01 20:12:53 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-01 20:12:53 +0900 |
| commit | 1189cecc564c691afeee564203866570fe6928b1 (patch) | |
| tree | 06dd9c4940eeffa9a767f8cacf903c6e00e23ac7 /crates/mozart-test-harness/src/lib.rs | |
| parent | 64ed53cf184fb05cbfe9f0336bc8695ff0e800f8 (diff) | |
| parent | 9776735dbfb4d34ac639947ecca12df06ddfa738 (diff) | |
| download | php-mozart-1189cecc564c691afeee564203866570fe6928b1.tar.gz php-mozart-1189cecc564c691afeee564203866570fe6928b1.tar.zst php-mozart-1189cecc564c691afeee564203866570fe6928b1.zip | |
Merge branch 'test/composer-integration-tests'
Diffstat (limited to 'crates/mozart-test-harness/src/lib.rs')
| -rw-r--r-- | crates/mozart-test-harness/src/lib.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/mozart-test-harness/src/lib.rs b/crates/mozart-test-harness/src/lib.rs new file mode 100644 index 0000000..f8fa2b3 --- /dev/null +++ b/crates/mozart-test-harness/src/lib.rs @@ -0,0 +1,12 @@ +//! 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 runner; + +pub use parser::{ParsedTest, parse_test_file, parse_test_str}; +pub use runner::{RunResult, run_test}; |
