1 2 3 4 5 6 7 8 9
#[test] fn test_sh() { println!("Hello"); assert!(std::process::Command::new("bash") .arg("tests/state_test.sh") .status() .expect("Failed to run test.sh") .success()); }