cli_tests.rs 460 B

1234567891011121314151617181920212223242526
  1. #[test]
  2. fn cli_all_tests() {
  3. trycmd::TestCases::new()
  4. .case("tests/cmd/*_all.toml");
  5. }
  6. #[test]
  7. #[cfg(unix)]
  8. fn cli_unix_tests() {
  9. trycmd::TestCases::new()
  10. .case("tests/cmd/*_unix.toml");
  11. }
  12. #[test]
  13. #[cfg(windows)]
  14. fn cli_windows_tests() {
  15. trycmd::TestCases::new()
  16. .case("tests/cmd/*_windows.toml");
  17. }
  18. #[test]
  19. #[cfg(feature="nix")]
  20. fn cli_nix_tests() {
  21. trycmd::TestCases::new()
  22. .case("tests/cmd/*_nix.toml");
  23. }