Trait RunTestsWithCoverage

Source
pub trait RunTestsWithCoverage {
    type Report;
    type Error;

    // Required method
    fn run_tests_with_coverage<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Self::Report, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn run_tests_with_coverage<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Report, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl RunTestsWithCoverage for CrateHandle

Source§

type Report = TestCoverageReport

Source§

type Error = WorkspaceError

Source§

fn run_tests_with_coverage<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Report, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

impl<P, H: CrateHandleInterface<P>> RunTestsWithCoverage for Workspace<P, H>
where for<'async_trait> P: From<PathBuf> + AsRef<Path> + Send + Sync + 'async_trait,

Source§

fn run_tests_with_coverage<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Self::Report, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Runs tests and gathers code coverage.

Source§

type Report = TestCoverageReport

Source§

type Error = WorkspaceError

Implementors§