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

Schema setup script doesn't populate test db #7

Open
bdickason opened this issue May 27, 2017 · 0 comments
Open

Schema setup script doesn't populate test db #7

bdickason opened this issue May 27, 2017 · 0 comments

Comments

@bdickason
Copy link
Member

The test.js file hardcodes the test db to tekkenchickentest but this db is not populated by the schema script.

Propose we either:

  1. Populate the test db alongside the main db in /database/init.js -or-
  2. Allow the user to pass in a variable to /database/init.js to override the db

The thinking here is that we're going to want to setup a CI server (ala travis CI) that runs every test when we check in the build, so we should create a programmatic way to populate the db for running tests.

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

No branches or pull requests

1 participant