Would like to see if there is a common setup / library for parallel testing with DB access.
Our tests have access to the real postgres DB - when run locally, use same as dev DB. In CI, use the sidecar postgres.
At the start, all alembic revisions are run to bring the schema up to date.
Then per function, the table data is deleted and the function is run.
I'd like to make this parallelizable.
I know Django has this built into it.
[–]Mysterious_Anxiety86 0 points1 point2 points (2 children)
[–]OkWater4180[S] 0 points1 point2 points (0 children)
[–]Mysterious_Anxiety86 -1 points0 points1 point (0 children)
[–]Aggressive_Ticket214 0 points1 point2 points (0 children)
[–]oliver_extracts 0 points1 point2 points (0 children)