Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Database tests #23

Open
nettofarah opened this issue Dec 1, 2015 · 3 comments
Open

Multi Database tests #23

nettofarah opened this issue Dec 1, 2015 · 3 comments

Comments

@nettofarah
Copy link
Contributor

We currently run all of our tests using SQLite in memory.

While this runs super fast and works great it doesn't really test Polo against some specific scenarios such as how different databases quote fields or how on_duplicate works with different databases.

My assumption is that we could set up some extra databases with appraisal and get some more coverage.

@nettofarah
Copy link
Contributor Author

I like how activerecord-import solves this problem.

We might be able to do something similar to this:
https://github.com/zdennis/activerecord-import/tree/master/test

@nettofarah
Copy link
Contributor Author

Another option is to set up multiple databases in travis.

@nettofarah
Copy link
Contributor Author

An even cooler option would be to setup some docker containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant