depclean 0.1.2

A tool to analyze and optimize project dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// tests/integration_tests.rs

use assert_cmd::Command;
use predicates::str::contains;

#[test]
fn test_cli_help() {
    // This test assumes your binary is named "depclean"
    let mut cmd = Command::cargo_bin("depclean").expect("Binary 'depclean' exists");
    cmd.arg("--help");
    cmd.assert()
        .success()
        .stdout(contains("A tool to analyze and optimize project dependencies"));
}