ef_test_runner/
main.rs

1//! Command-line interface for running tests.
2use std::path::PathBuf;
3
4use clap::Parser;
5use ef_tests::{cases::blockchain_test::BlockchainTests, Suite};
6
7/// Command-line arguments for the test runner.
8#[derive(Debug, Parser)]
9pub struct TestRunnerCommand {
10    /// Path to the test suite
11    suite_path: PathBuf,
12}
13
14fn main() {
15    let cmd = TestRunnerCommand::parse();
16    BlockchainTests::new(cmd.suite_path.join("blockchain_tests")).run();
17}