News for hackers. Stuff that matters.
Re:Using short lived Postgres servers for testing by pletnes on Thursday June 27, 2024 @04:04PM (#40814490)
Do you populate with test data, and if so, how?
Re:Using short lived Postgres servers for testing by vhodges on Thursday June 27, 2024 @04:27PM (#40814733)
Yes, when the container is started you get the db url connect string, you connect to it, load the schema and any test data/seeds.

For me I just run the ddl (sitting in a .sql file) and run my tests. They run with an empty db but I could have sample data too the same way.