fixtureForAll<T extends Fixture> function
- T fixture
Used to register a Fixture
to be executed before the tests are executed in
a group, and then again after all the group tests have executed.
Arguments
T fixture
- the fixture instance to be registered
Returns
The instance of the fixture passed in, for convenience.
Implementation
T fixtureForAll<T extends Fixture>(T fixture) {
setUpAll(fixture.before);
tearDownAll(fixture.after);
return fixture;
}