Trait necessist_core::framework::Run

source ·
pub trait Run {
    // Required methods
    fn dry_run(
        &self,
        context: &LightContext<'_>,
        test_file: &Path,
    ) -> Result<()>;
    fn exec(
        &self,
        context: &LightContext<'_>,
        test_name: &str,
        span: &Span,
    ) -> Result<Option<(Exec, Option<Box<Postprocess>>)>>;
}

Required Methods§

source

fn dry_run(&self, context: &LightContext<'_>, test_file: &Path) -> Result<()>

source

fn exec( &self, context: &LightContext<'_>, test_name: &str, span: &Span, ) -> Result<Option<(Exec, Option<Box<Postprocess>>)>>

Implementors§

source§

impl<T: AsRun> Run for T