Name: ecto_it
Owner: xerions
Description: Ecto plugin with default configuration for repos for testing different ecto plugins with databases
Created: 2015-03-23 17:14:54.0
Updated: 2018-02-21 08:05:28.0
Pushed: 2015-07-23 15:02:03.0
Size: 143
Language: Elixir
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Library for simple integration tests for Ecto, which implements EctoIt.Repo module, which based on MIX_ENV dispatch the call to related Postgres or Mysql database.
Usage:
ication.ensure_all_started(:ecto_it)
Start of :ecto_it do storage_up and stop of :ecto_it do storage_down, in between your can use EctoIt.Repo for testing. See tests, for how to use it.