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 test db for unit tests #108

Merged
merged 9 commits into from
May 4, 2024
Merged

Use test db for unit tests #108

merged 9 commits into from
May 4, 2024

Conversation

bdewilde
Copy link
Member

@bdewilde bdewilde commented May 4, 2024

changes

  • adds pytest-postgresql and sqlalchemy-utils as dev dependencies
  • uses db connection factories to create and read/write a separate test database for all unit testing, leaving the main application database unaffected
  • updates dev setup and app management docs

@bdewilde bdewilde changed the base branch from main to develop May 4, 2024 17:46
@bdewilde bdewilde marked this pull request as ready for review May 4, 2024 18:06
@bdewilde bdewilde merged commit e6f33b2 into develop May 4, 2024
3 checks passed
@bdewilde bdewilde deleted the burton-fix-test-db-clashes branch May 4, 2024 18:08
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

Successfully merging this pull request may close these issues.

1 participant