eza/tests/cli_tests.rs
2023-11-13 17:41:03 +01:00

35 lines
691 B
Rust

#[test]
fn cli_all_tests() {
trycmd::TestCases::new().case("tests/cmd/*_all.toml");
}
#[test]
#[cfg(unix)]
fn cli_unix_tests() {
trycmd::TestCases::new().case("tests/cmd/*_unix.toml");
}
#[test]
#[cfg(windows)]
fn cli_windows_tests() {
trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
}
#[test]
#[cfg(feature = "nix-local")]
fn cli_nix_local_tests() {
trycmd::TestCases::new().case("tests/cmd/*_nix_local.toml");
}
#[test]
#[cfg(feature = "powertest")]
fn cli_powertest_tests() {
trycmd::TestCases::new().case("tests/ptests/*.toml");
}
#[test]
#[cfg(feature = "nix")]
fn cli_nix_generated_tests() {
trycmd::TestCases::new().case("tests/gen/*.toml");
}