pub trait CommandExt {
// Required methods
fn status2(&mut self) -> Result<TestStatus, Report>;
fn output2(&mut self) -> Result<TestOutput<NoDir>, Report>;
fn spawn2<T>(
&mut self,
dir: T,
command_path: impl ToString,
) -> Result<TestChild<T>, Report>;
}
Expand description
Wrappers for Command
methods to integrate with zebra_test
.
Required Methods§
sourcefn status2(&mut self) -> Result<TestStatus, Report>
fn status2(&mut self) -> Result<TestStatus, Report>
wrapper for status
fn on Command
that constructs informative error
reports
Object Safety§
This trait is not object safe.