cli_tests.rs 691 B

12345678910111213141516171819202122232425262728293031323334
  1. #[test]
  2. fn cli_all_tests() {
  3. trycmd::TestCases::new().case("tests/cmd/*_all.toml");
  4. }
  5. #[test]
  6. #[cfg(unix)]
  7. fn cli_unix_tests() {
  8. trycmd::TestCases::new().case("tests/cmd/*_unix.toml");
  9. }
  10. #[test]
  11. #[cfg(windows)]
  12. fn cli_windows_tests() {
  13. trycmd::TestCases::new().case("tests/cmd/*_windows.toml");
  14. }
  15. #[test]
  16. #[cfg(feature = "nix-local")]
  17. fn cli_nix_local_tests() {
  18. trycmd::TestCases::new().case("tests/cmd/*_nix_local.toml");
  19. }
  20. #[test]
  21. #[cfg(feature = "powertest")]
  22. fn cli_powertest_tests() {
  23. trycmd::TestCases::new().case("tests/ptests/*.toml");
  24. }
  25. #[test]
  26. #[cfg(feature = "nix")]
  27. fn cli_nix_generated_tests() {
  28. trycmd::TestCases::new().case("tests/gen/*.toml");
  29. }