domainforge-core 0.22.0

Rust core library implementing the SEA DSL primitives and validation engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use anyhow::{bail, Result};
use clap::Parser;

#[derive(Parser)]
pub struct TestArgs {
    pub pattern: String,
}

/// The test runner is not implemented. Fail loudly so a script or CI step that
/// invokes `domainforge test <pattern>` cannot report success while testing nothing.
pub fn run(args: TestArgs) -> Result<()> {
    bail!(
        "`domainforge test` is not implemented (pattern: {}); no tests were run",
        args.pattern
    )
}