Fake
Generate fake (but realistic) data.
Installation
Add :fake to the list of dependencies in mix.exs:
def deps do
[
{:fake, "<requirement>"}
]
end
Only for test environment
Add :fake to the list of dependencies in mix.exs:
def deps do
[
{:fake, "<requirement>", only: :test}
]
end
Add Fake.start() to test/test_helper.exs:
ExUnit.start()
Fake.start()Usage
For more information, see the documentation.