gthings 0.4.6

CLI binary for gthings — browser-automated web research toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::process::Command;

#[test]
fn test_binary_exists() {
    let output = Command::new("cargo")
        .args(["run", "--", "--help"])
        .output()
        .expect("failed to execute binary");
    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    assert!(stdout.contains("search") || stdout.contains("follow"));
}