Function assert_cmd::main_binary_path [−][src]
pub fn main_binary_path() -> Result<PathBuf, Error>
Get the path to the crate's main binary.
Note: only works if there one bin in the crate.
pub fn main_binary_path() -> Result<PathBuf, Error>
Get the path to the crate's main binary.
Note: only works if there one bin in the crate.