Search results

There are no results.

std.test.Reporter

Reporter

A type used for reporting test progress.

Required methods

failed

Show source code
Hide source code
fn pub mut failed(test: Test)
fn pub mut failed(test: Test)

Reports a test that failed.

finished

Show source code
Hide source code
fn pub move finished(duration: Duration, seed: Int) -> Bool
fn pub move finished(duration: Duration, seed: Int) -> Bool

Presents a summary of the test suite upon completion.

The duration argument is set to the total execution time.

The seed argument is the seed used to sort the tests in a random order.

If any tests failed, this method must return false.

passed

Show source code
Hide source code
fn pub mut passed(test: Test)
fn pub mut passed(test: Test)

Reports a test that passed.

Implementations

std.test.

Plain

impl Reporter for Plain