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

Use an independent SQLite DB for each test #126

Merged
merged 1 commit into from
Dec 12, 2022

Conversation

josecelano
Copy link
Member

I was using the default DB configuration for some tests.

Every test must use its database to decouple tests.

And the database must be located in a different location than the production default location to avoid overwriting production data accidentally.

I was using the deafult DB configuration for some tests.

Every test has to use its own database and the database should be
located in a different location than the production default location.
@josecelano josecelano merged commit 8982159 into develop Dec 12, 2022
@josecelano josecelano deleted the issue-125-use-ephemeral-db-in-tests branch December 12, 2022 12:20
@josecelano josecelano mentioned this pull request Dec 12, 2022
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant