Function cargo_test_support::install::assert_has_installed_exe
source ยท pub fn assert_has_installed_exe<P: AsRef<Path>>(path: P, name: &'static str)
Expand description
Used by cargo install
tests to assert an executable binary
has been installed. Example usage:
use cargo_test_support::install::assert_has_installed_exe;
use cargo_test_support::install::cargo_home;
assert_has_installed_exe(cargo_home(), "foo");