fixtures library

A framework for writing test fixtures that hook into the unit test lifecycle.

Classes

Fixture
Defines an abstract Fixture which will setup (before) and teardown (after) required "fixtures" for testing.
TempDirFixture
A Fixture used to create a temporary directory, which will be created on setup, and deleted on teardown.

Functions

fixtureForAll<T extends Fixture>(T fixture) → T
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.
fixtureForEach<T extends Fixture>(T fixture) → T
Used to register a Fixture to be executed before and after each test method in the group.