Trait parables_testing::reporter::Reporter[][src]

pub trait Reporter<'a>: Sync {
    fn report(&self, index: usize, result: TestResult<'a>) -> Result<(), Error>;
fn report_skipped(&self, test: Test<'a>) -> Result<(), Error>;
fn close(&self) -> Result<(), Error>; fn supports_animation(&self) -> Result<bool, Error> { ... }
fn animate(&self) -> Result<(), Error> { ... }
fn end(&self) -> Result<(), Error> { ... }
fn report_started(&self, _index: usize, _name: &str) -> Result<(), Error> { ... } }

Required Methods

Report a single result.

Report that a number of tests have been skipped.

Close the reporter.

Provided Methods

Check if reporter supports animation.

Animate the reporter.

End any in-progress animations.

Report that we've started running a test.

Implementors