Packages

Ecto IT is library for writing integration tests(with database backend) for ecto-based applications.

Current section

Files

Jump to
ecto_it README.md
Raw

README.md

EctoIt
======
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:
```elixir
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.