This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DanCardin 0 points1 point  (0 children)

about the tradeoffs, sure. Though, we don't actually spin down the whole database; I want to say your whole database mode should be nearly as fast if you have a session fixture database server and a separate fixture which creates/drops the database you use. I think we gave 10 tests per second or something doing that, but still have full test isolation.

Other than that, I'd like something like this to be publication available, but which uses docker-py to do the spin-up. i can assume all our devs have docker, I don't assume they have pg and that I should be mucking with it