eza/tests/cli_tests.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
691 B
Rust
Raw Normal View History

#[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");
}