feat: Initial helm score using helm-wrapper-rs (#14)

Reviewed-on: #14
Co-authored-by: Taha Hawa <taha@taha.dev>
Co-committed-by: Taha Hawa <taha@taha.dev>
This commit is contained in:
2025-04-23 18:22:27 +00:00
committed by taha
parent 8f470278a7
commit 53aa47f91e
9 changed files with 149 additions and 33 deletions

View File

@@ -18,21 +18,3 @@ async fn main() {
]);
harmony_cli::init(maestro, None).await.unwrap();
}
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();
}