Skip to main content

Runner

Trait Runner 

Source
pub trait Runner {
    // Required method
    fn run(
        &self,
        name: &str,
        testcase: &TestCase,
        context: &ExecutionContext,
    ) -> Result<Output>;
}
Expand description

A thing that runs the shell expression of a single crate::testcase::TestCase within the given crate::executors::context::Context.

Required Methods§

Source

fn run( &self, name: &str, testcase: &TestCase, context: &ExecutionContext, ) -> Result<Output>

Return the crate::output::Output of running the shell expression of a crate::testcase::TestCase

Implementors§