News for hackers. Stuff that matters.
Re:Mocking Is an Anti-Pattern by AlexErrant on Monday June 17, 2024 @01:54PM (#40708763)
Maybe use pglite (which wraps postgres-wasm)? Readme indicates it can run in-memory.

Doesn't solve your testing-data question, but it'll save you from spinning up a new DB.

https://github.com/electric-sql/pglite/

https://github.com/electric-sql/postgres-wasm

There are no comments on this comment yet.