xerions/ecto_it

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

Homepage:

Size: 143

Language: Elixir

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.