pub async fn test<'a, S1, S2, S3>(
        &mut self,
        scenario: S1,
        command: S2,
        response_contains: Vec<S3>,
    ) where
        S1: Into<Cow<'a, str>>,
        S2: Into<Cow<'a, str>>,
        S3: Into<Cow<'a, str>>,
    {
        let includes = response_contains.into_iter().map(Into::into).collect_vec();

        self.test_matches(scenario, command, Matcher::includes(includes))
            .await;
    }
/// Runs a command and consumes all output between the command and the next prompt.
/// Asserts if any string in response_contains does not appear in output.
Runs a command and consumes all output between the command and the next prompt.
Asserts if any string in response_contains does not appear in output.
Runs a command and consumes all output between the command and the next prompt . Asserts if any string in response_contains does not appear in output .
pub async fn test<'a, S1, S2, S3>(
        &mut self,
        scenario: S1,
        command: S2,
        response_contains: Vec<S3>,
    ) where
        S1: Into<Cow<'a, str>>,
        S2: Into<Cow<'a, str>>,
        S3: Into<Cow<'a, str>>,
    {
        let includes = response_contains.into_iter().map(Into::into).collect_vec();
        self.test_matches(scenario, command, Matcher::includes(includes))
            .await;
    }
pub async fn test < ' a , S1 , S2 , S3 > ( & mut self , scenario : S1 , command : S2 , response_contains : Vec < S3 > , ) where S1 : Into < Cow < ' a , str > > , S2 : Into < Cow < ' a , str > > , S3 : Into < Cow < ' a , str > > , { let includes = response_contains . into_iter ( ) . map ( Into :: into ) . collect_vec ( ) ; self . test_matches ( scenario , command , Matcher :: includes ( includes ) ) . await ; }
Runs a command and consumes all output between the command and the next prompt.
Runs a command and consumes all output between the command and the next prompt .
&mut self
scenario
S1
command
S2
response_contains
Vec<S3>
&mut self
scenario
S1
command
S2
response_contains
Vec<S3>