test: Implements tests using the generated directory

Picked from #592
This commit is contained in:
MartinFillon 2023-11-01 22:02:37 +01:00 committed by Christina Sørensen
parent d6d02d14e8
commit 2273e29bc0
144 changed files with 23415 additions and 730 deletions

View file

@ -15,12 +15,6 @@ fn cli_windows_tests() {
trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
}
#[test]
#[cfg(feature = "nix")]
fn cli_nix_tests() {
trycmd::TestCases::new().case("tests/cmd/*_nix.toml");
}
#[test]
#[cfg(feature = "nix-local")]
fn cli_nix_local_tests() {
@ -32,3 +26,9 @@ fn cli_nix_local_tests() {
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");
}