Closed obmarg closed 8 years ago
As documented here: https://github.com/obmarg/ex_unit_fixtures/commit/37cf4fb3024abc4a03aa551fb455f4df9f7f6e90 it's possible to use ExUnit.CaseTemplate to import some fixtures. However, I'm pretty sure this won't play too well with defining fixtures locally to a test file.
It'd be good to test this to be sure, and then provide a way of making it work.
This is dealt with in #7 - it's no longer recommended to use ExUnit.CaseTemplate to import fixtures, and the new ExUnitFixtures.FixtureModule code handles this case.
ExUnit.CaseTemplate
ExUnitFixtures.FixtureModule
Fixed in #7
As documented here: https://github.com/obmarg/ex_unit_fixtures/commit/37cf4fb3024abc4a03aa551fb455f4df9f7f6e90 it's possible to use ExUnit.CaseTemplate to import some fixtures. However, I'm pretty sure this won't play too well with defining fixtures locally to a test file.
It'd be good to test this to be sure, and then provide a way of making it work.