[][src]Trait assert_cmd::assert::OutputAssertExt

pub trait OutputAssertExt {
    fn assert(self) -> Assert;
}

Assert the state of an Output.

Examples

use assert_cmd::prelude::*;

use std::process::Command;

let mut cmd = Command::cargo_bin("bin_fixture")
    .unwrap();
cmd.assert()
    .success();

Required methods

fn assert(self) -> Assert

Wrap with an interface for that provides assertions on the Output.

Examples

use assert_cmd::prelude::*;

use std::process::Command;

let mut cmd = Command::cargo_bin("bin_fixture")
    .unwrap();
cmd.assert()
    .success();
Loading content...

Implementations on Foreign Types

impl OutputAssertExt for Output[src]

impl<'c> OutputAssertExt for &'c mut Command[src]

Loading content...

Implementors

impl<'c> OutputAssertExt for &'c mut assert_cmd::cmd::Command[src]

Loading content...