Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know about Postgres but a MySQL container can take at least a few seconds to start up and report back as healthy on a Macbook Pro. You can just purge tables on the existing database in between tests, no need to start up a whole new database server each time.


You can also reuse containers with test containers.

Now the next question might be "Well why use test containers then if you are reusing containers".

Because you can express these dependencies and drive the config programmatically from your code and test harness.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: