Struct parables_testing::test_runner::TestRunner[][src]

pub struct TestRunner<'a> { /* fields omitted */ }

A scaffolding that runs tests very efficiently.

Methods

impl<'a> TestRunner<'a>
[src]

Build a new test runner.

Create a module runner.

Run by reading filters from argv.

Run all registered tests, while applying the given filter on their name.

All strings specified in the filter must be apart of the name of a test to include it.

Note: this installs a panic hook, so mixing this with another component that fiddles with the hook will cause unexpected results.

Trait Implementations

impl<'a> Debug for TestRunner<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Suite<'a> for TestRunner<'a>
[src]

Register a single test, with a human-readable name.

Auto Trait Implementations

impl<'a> Send for TestRunner<'a>

impl<'a> !Sync for TestRunner<'a>