pub fn build_mock_binary_with_opts<'a, T>(
    name: &str,
    profile: Option<&str>,
    features: T
) -> Result<OsString, TestBinaryError> where
    T: IntoIterator<Item = &'a str>, 
Expand description

Same as build_mock_binary() but accepts additional arguments to specify the build profile and features. To leave the profile as the default pass None.