ExUnitFixtures v0.1.1 ExUnitFixtures.Imp
This module provides most of the implementation details of ExUnitFixtures.
It is seperated out from the main ExUnitFixtures file so the documentation for users is not mixed in with a bunch of irrelevant details.
Summary
Functions
Creates the required fixtures for a given test context
Functions
Specs
fixtures_for_context(%{}, %{atom: ExUnitFixtures.FixtureInfo.t}) :: %{}
Creates the required fixtures for a given test context.
This should be passed:
- The
context
of the current test. all_fixtures
- a map of fixture names toExUnitFixtures.FixtureInfo
structs.
It will return context
with the requested fixtures added in.