feat: Initial helm score using helm-wrapper-rs #14
| @ -18,22 +18,3 @@ async fn main() { | ||||
|     ]); | ||||
|     harmony_cli::init(maestro, None).await.unwrap(); | ||||
| } | ||||
| 
 | ||||
| #[allow(unused)] | ||||
| use assert_cmd::Command; | ||||
| 
 | ||||
| #[test] | ||||
| fn test_example_success() { | ||||
|     let mut cmd = Command::cargo_bin("example-cli").unwrap(); | ||||
|     let assert = cmd.args(&["--yes", "--filter", "SuccessScore"]).assert(); | ||||
| 
 | ||||
|     assert.success(); | ||||
| } | ||||
| 
 | ||||
| #[test] | ||||
| fn test_example_fail() { | ||||
|     let mut cmd_fail = Command::cargo_bin("example-cli").unwrap(); | ||||
|     let assert_fail = cmd_fail.args(&["--yes", "--filter", "ErrorScore"]).assert(); | ||||
| 
 | ||||
|     assert_fail.failure(); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user