|
|
|
|
|
by vinayan3
1667 days ago
|
|
Similarly I've called tests with a PG DB in a docker container an integration test cause they take longer to run. What's really nice if you run the migrations once to setup the tests then subsequent tests can be fast. Each test run within a nested transaction and rolled back at the end. This ensures that each test get a clean DB to work off of with incurring the cost of running all the migrations. |
|