obmarg / ex_unit_fixtures

A library for defining modular dependencies (fixtures) for ExUnit tests.
MIT License
13 stars 5 forks source link

ExUnitFixtures.AutoImport is now default behaviour. #22

Closed obmarg closed 8 years ago

obmarg commented 8 years ago

This updates ExUnitFixtures & ExUnitFixtures.FixtureModule to both automatically use ExUnitFixtures.AutoImport by default. This should make things easier for most use cases where auto import is to be used, while not causing any harm if people don't actually create fixtures.exs files.

In the event that people do want to create fixtures.exs files, they can always disable this via the application configuration.

This also updates the automatic loading of fixtures.exs files to be configurable.

Fixes #18