Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xerions/ecto_it

Ecto plugin with default configuration for repos for testing different ecto plugins with databases
https://github.com/xerions/ecto_it

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

EctoIt [![Build Status](https://travis-ci.org/xerions/ecto_it.svg)](https://travis-ci.org/xerions/ecto_it)
======

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. See tests, for how to use it.