Skip to main content

TestAnalyzer

Trait TestAnalyzer 

Source
pub trait TestAnalyzer: Send + Sync {
    type TestSuite;

    // Required methods
    fn analyze_coverage(&self, suite: &Self::TestSuite) -> CoverageReport;
    fn detect_test_smells(&self, suite: &Self::TestSuite) -> Vec<TestSmell>;
}
Expand description

Test analyzer trait

Required Associated Types§

Source

type TestSuite

The test suite type

Required Methods§

Source

fn analyze_coverage(&self, suite: &Self::TestSuite) -> CoverageReport

Analyze test coverage

Source

fn detect_test_smells(&self, suite: &Self::TestSuite) -> Vec<TestSmell>

Detect test smells

Implementors§