zonkyio/embedded-postgres
View on GitHub ↗ ★ 489 Java
Java embedded PostgreSQL component for testing
7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2023-01-19 · latest 2025-06-06
20082026
-
For Clojure and Java apps, check out Zonky ( https://github.com/zonkyio/embedded-postgres ). It provides a similar experience on the JVM, but instead of containers or WASM, you're running an embedded native binary.
comment by perrygeo · 2025-06-06 · in Test Postgres in Python Like SQLite -
…I don’t think there’s that much interest, but it is doable. EDIT: https://github.com/zonkyio/embedded-postgres
comment by epcoa · 2024-10-14 · in Huly – Open-source project management platform -
There's a similar JVM version here: https://github.com/zonkyio/embedded-postgres It's well maintained and seems to do what it says on the tin. I start it up once across all the suites (managing DB state as required in the suite) and the…
comment by switchbak · 2024-06-27 · in Using short lived Postgres servers for testing -
You can just run postgres natively: https://github.com/zonkyio/embedded-postgres-binaries + https://github.com/zonkyio/embedded-postgres or through WASM: https://github.com/electric-sql/pglite
comment by alright2565 · 2024-02-28 · in Testcontainers -
Little use if you’re not on the JVM but I’ve had great success with Embedded Postgres: https://github.com/zonkyio/embedded-postgres Each test just copies a template database so it’s ultra fast and avoids the need for complicated reset…
comment by thom · 2023-10-27 · in Why you should probably be using SQLite -
…have to be as slow as people like to make out - Embedded Postgres is quite fast, for example: https://github.com/zonkyio/embedded-postgres Same with network services - it's not slow to chat to localhost and you'll find more issues testing…
comment by thom · 2023-05-22 · in Ask HN: What's your favorite software testing framework and why? -
…file part) and starts surprisingly fast. That would totally work for a little proof of concept ( https://github.com/zonkyio/embedded-postgres )
comment by switchbak · 2023-01-19 · in HC-tree is an experimental high-concurrency database back end for SQLite