Type Alias SuiteReporter

Source
pub type SuiteReporter<'a> = EntityReporter<SuiteId, &'a (dyn Reporter + Send + Sync + 'static)>;
Expand description

A reporter for structured results scoped to a test suite. Note this may not outlive the RunReporter from which it is created.

Aliased Type§

struct SuiteReporter<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> SuiteReporter<'a>

Source

pub fn new_case( &self, name: &str, case_id: &CaseId, ) -> Result<CaseReporter<'_>, Error>

Record a new suite under the suite.

Source

pub fn set_tags(&self, tags: Vec<TestTag>)

Set the tags for this suite.