vibe-action 0.1.4

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_engine;

#[test]
fn test_expect_list() {
    let output = app_test_engine("expect-list");
    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    assert!(stdout.contains("a\nb\nc"), "Got: {}", stdout);
}

#[test]
fn test_expect_string() {
    let output = app_test_engine("expect-string");
    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    assert!(stdout.contains("hello"), "Got: {}", stdout);
}