Skip to content

Use testcontainers for DB tests#1410

Open
lachiewalker wants to merge 4 commits into
piccolo-orm:masterfrom
lachiewalker:feat/testcontainers
Open

Use testcontainers for DB tests#1410
lachiewalker wants to merge 4 commits into
piccolo-orm:masterfrom
lachiewalker:feat/testcontainers

Conversation

@lachiewalker

Copy link
Copy Markdown

Adds testcontainers to:

  • automate DB stand-up and tear-down for unit tests
  • standardise DB config (TZ=UTC required to pass test suite now configured in conftest)
  • Enable automated testing of edge case and optional features such as custom tablespaces (add tablespace argument to Table #527)

conftest now orchestrates DB rather than the github CI workflow.

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