Skip to main content

Module cmd

Module cmd 

Expand description

Run commands and assert on their behavior

Structs§

Command
Process spawning for testing of non-interactive commands
OutputAssert
Assert the state of a Command’s Output.

Functions§

cargo_bin
Look up the path to a cargo-built binary within an integration test
cargo_bin_opt
Look up the path to a cargo-built binary within an integration test
cargo_bins
Return all the name and path for all binaries built by Cargo
display_exit_status
Converts an std::process::ExitStatus to a human-readable value