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

Database tests should be run on a test database #53

Open
developess opened this issue Aug 10, 2018 · 0 comments
Open

Database tests should be run on a test database #53

developess opened this issue Aug 10, 2018 · 0 comments
Assignees
Labels
hygiene issues relating to clean, efficient & readable code

Comments

@developess
Copy link

I think its best practice to run db_build and run tests in a test database, and have your local database as the development database. You can set an NODE_ENV variable to make sure that tests execute on the right database when they run, and npm start/run dev on the local DB.

@martingaston martingaston added the hygiene issues relating to clean, efficient & readable code label Aug 10, 2018
dupreesi pushed a commit that referenced this issue Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hygiene issues relating to clean, efficient & readable code
Projects
None yet
Development

No branches or pull requests

3 participants