vibe-action 0.2.2

Command router — execute shell commands and LLM prompts via simple YAML actions.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::app_test_modifier;

#[test]
fn test_scan_directory() {
    let output = app_test_modifier("scan-directory");
    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    // Should contain files from the project
    assert!(stdout.contains("Cargo.toml") || stdout.contains("src/"));
    assert!(!stdout.contains("target/")); // vibe-fs ignores target
}

#[test]
fn test_scan_not_directory() {
    let output = app_test_modifier("scan-not-directory");
    assert!(!output.status.success());
}