diff options
Diffstat (limited to 'tests/cli.rs')
| -rw-r--r-- | tests/cli.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/cli.rs b/tests/cli.rs index 05e3efd..37398e6 100644 --- a/tests/cli.rs +++ b/tests/cli.rs | |||
| @@ -376,4 +376,24 @@ fn test_list_quiet_mode() { | |||
| 376 | .stdout(predicate::str::contains("ID").not()) | 376 | .stdout(predicate::str::contains("ID").not()) |
| 377 | .stdout(predicate::str::contains("PID").not()) | 377 | .stdout(predicate::str::contains("PID").not()) |
| 378 | .stdout(predicate::str::contains("STATUS").not()); | 378 | .stdout(predicate::str::contains("STATUS").not()); |
| 379 | } | ||
| 380 | |||
| 381 | #[test] | ||
| 382 | fn test_llm_command() { | ||
| 383 | let mut cmd = Command::cargo_bin("demon").unwrap(); | ||
| 384 | cmd.args(&["llm"]) | ||
| 385 | .assert() | ||
| 386 | .success() | ||
| 387 | .stdout(predicate::str::contains("# Demon - Daemon Process Management CLI")) | ||
| 388 | .stdout(predicate::str::contains("## Available Commands")) | ||
| 389 | .stdout(predicate::str::contains("demon run")) | ||
| 390 | .stdout(predicate::str::contains("demon stop")) | ||
| 391 | .stdout(predicate::str::contains("demon list")) | ||
| 392 | .stdout(predicate::str::contains("demon tail")) | ||
| 393 | .stdout(predicate::str::contains("demon cat")) | ||
| 394 | .stdout(predicate::str::contains("demon status")) | ||
| 395 | .stdout(predicate::str::contains("demon clean")) | ||
| 396 | .stdout(predicate::str::contains("Common Workflows")) | ||
| 397 | .stdout(predicate::str::contains("Best Practices")) | ||
| 398 | .stdout(predicate::str::contains("Integration Tips")); | ||
| 379 | } \ No newline at end of file | 399 | } \ No newline at end of file |
