News for hackers. Stuff that matters.
Re:Using short lived Postgres servers for testing by esafak on Thursday June 27, 2024 @07:48PM (#40816429)
The testcontainer is agnostic to how you use it; it's a real docker container.
Re:Using short lived Postgres servers for testing by JBorrow on Friday June 28, 2024 @12:47PM (#40822438)
Sure, but you may want to use different databases as your application may be expected to be deployed in different environments. I like to keep some of my apps db-agnostic, so I test with postgres in a testcontainer and sqlite outside of one to ensure consistency.