Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xerions/ecto_it
- Owner: xerions
- License: other
- Created: 2015-03-23T17:14:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-23T15:02:03.000Z (over 9 years ago)
- Last Synced: 2024-07-06T10:23:20.398Z (5 months ago)
- Language: Elixir
- Homepage:
- Size: 140 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Ecto plugin with default configuration for repos for testing different ecto plugins with databases. (Testing)
- fucking-awesome-elixir - ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases. (Testing)
- awesome-elixir - ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases. (Testing)
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.