Module cmd

Module cmd 

Source
Expand description

Run commands and assert on their behavior

Macros§

cargo_bin
The absolute path to a binary target’s executable.

Structs§

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

Functions§

cargo_binDeprecated
Look up the path to a cargo-built binary within an integration test.
compile_exampleexamples
Prepare an example for testing
compile_examplesexamples
Prepare all examples for testing
display_exit_statuscmd
Converts an std::process::ExitStatus to a human-readable value