ExUnitFixtures v0.2.0 ExUnitFixtures.FixtureInfo

Provides a struct that stores information about a fixture.

Fields

  • name - this is the name of the fixture as an atom.
  • func - the function that implements this fixture, as {module, func_name}
  • dep_names - the names of any dependencies this function has as atoms, in the order that it accepts them as parameters.
  • scope - the scope of the fixture. See ExUnitFixtures for more details.
  • autouse - whether or not the fixture will automatically be used for all tests.

Summary

Types

scope :: :test | :module
t :: %ExUnitFixtures.FixtureInfo{autouse: boolean, dep_names: [:atom], func: {:atom, :atom}, name: :atom, scope: scope}