Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 493 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 493 Bytes

EctoIt Build Status

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:

Application.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.