lesavka/testing/tests/common_cli_binary_contract.rs

15 lines
413 B
Rust
Raw Permalink Normal View History

//! Integration coverage for the common CLI binary entrypoint.
//!
//! Scope: include the common CLI bin source and execute `main` directly.
//! Targets: `common/src/bin/cli.rs`.
//! Why: keep binary entrypoint coverage in the centralized testing crate.
mod common_cli_binary {
include!(env!("LESAVKA_COMMON_CLI_BIN_SRC"));
#[test]
fn cli_main_executes_without_panicking() {
main();
}
}