Struct trycmd::TestCases [−][src]
pub struct TestCases { /* fields omitted */ }Expand description
Entry point for running tests
Implementations
Overwrite expected status for a test
Set default bin, by path, for commands
Set default bin, by name, for commands
Set default environment variable
Add a bin to the “PATH” for cases to use
pub fn register_bins<N: Into<String>, B: Into<Bin>>(
&self,
bins: impl IntoIterator<Item = (N, B)>
) -> &Self
pub fn register_bins<N: Into<String>, B: Into<Bin>>(
&self,
bins: impl IntoIterator<Item = (N, B)>
) -> &Self
Add a series of bins to the “PATH” for cases to use