Trait cli_test_dir::ExpectStatus [] [src]

pub trait ExpectStatus {
    fn expect_success(self) -> Output;
fn expect_failure(self) -> Output; }

We define expect_status on quite a few related types to support different calling patterns.

Required Methods

Expect the child process to succeed, and return a std::process::Output object with its output.

Expect the child process to fail, and return std::process::Output object with its output.

Implementations on Foreign Types

impl ExpectStatus for Output
[src]

impl<ES: ExpectStatus, E: Debug> ExpectStatus for Result<ES, E>
[src]

impl<'a> ExpectStatus for &'a mut Command
[src]

impl ExpectStatus for Child
[src]

Implementors