Skip to main content

Module fixtures

Module fixtures 

Source

Structs§

FixtureOf
Generic adapter to implement ConsumableFixture on any type implementing Default.

Traits§

ConsumableFixture
Interface for structure to be set up before the test case. Types implementing ConsumableFixture can be passed by value to a test function.
Fixture
Interface for structure to be set up and torn down as part of a test. Types implementing Fixture can be passed as a reference argument to a test function.
StaticFixture
Interface for structure to be set up only once before all tests. Types implementing StaticFixture can be passed as a double referenced argument to a test function.