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

Decouple tests from data manually added to database #8

Open
adam-blackwater opened this issue Jul 3, 2020 · 0 comments
Open

Decouple tests from data manually added to database #8

adam-blackwater opened this issue Jul 3, 2020 · 0 comments
Labels
board-api enhancement New feature or request good first issue Good for newcomers

Comments

@adam-blackwater
Copy link
Member

Currently data is added to the database by sourcing sql file in the game-database repo. This data is used in the board-api tests. Run a set up in board-api tests before the tests run that inserts data into the database. Write a tear down as well to tidy up and prepare the database for the next tests that run.

@adam-blackwater adam-blackwater added enhancement New feature or request good first issue Good for newcomers board-api labels Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board-api enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant