cargo-regression 0.4.5

Collect test task from input files, execute them and compare results with golden.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod args;
mod assert;
mod config;
mod regression;
use assert::Assert;

pub use args::Args;
pub use regression::TestExitCode;

#[tokio::test]
async fn demo() -> TestExitCode {
  let args = Args::new("demo")
    .workdir("tmp")
    .include(["demo/test-premit/test2.sh"]);
  args.test().await
}