xerions / ecto_it

Ecto plugin with default configuration for repos for testing different ecto plugins with databases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Ecto plugin with default configuration for repos for testing different ecto plugins with databases

License:Other


Languages

Language:Elixir 100.0%