Module assert_cmd::cargo [−][src]
Simplify running bin
s in a Cargo project.
Examples
use assert_cmd::prelude::*; use std::process::Command; Command::main_binary() .unwrap() .unwrap();
Structs
CargoError |
Error when finding crate binary. |
Traits
CommandCargoExt |
Create a |
Functions
cargo_bin_path |
Get the path to the specified binary of the current crate. |
cargo_example_path |
Get the path to the specified example of the current crate. |
main_binary_path |
Get the path to the crate's main binary. |