opentable/otj-pg-embedded
View on GitHub ↗ ★ 719 Java
Java embedded PostgreSQL component for testing
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2014-12-15 · latest 2024-03-01
20082026
-
Anyone have an opinion of embedded-postgres vs https://github.com/opentable/otj-pg-embedded (of which its a fork) for Clojure use?
comment by fulafel · 2024-03-01 · in Testcontainers -
It's pretty easy to run embedded postgres on the JVM: https://github.com/opentable/otj-pg-embedded The defaults create a temporary DB which is useful for dev & tests, but a pair of calls to .setCleanDataDirectory(false) and…
comment by john-shaffer · 2021-08-05 · in SQLite Is Dynamically Typed (2020) -
I've been using this embedded PostgreSQL thing for tests: https://github.com/opentable/otj-pg-embedded It's very simple to use and works perfectly. The one problem, and it's a significant one, is that it only ships one version of…
comment by twic · 2021-04-27 · in Pg_tmp – Run tests on an isolated, temporary PostgreSQL database -
…which are similar in concept to SQLite) 1. https://github.com/airlift/testing-postgresql-server 2. https://github.com/opentable/otj-pg-embedded 3. https://github.com/airlift/testing-mysql-server
comment by electrum · 2015-08-04 · in Don't test with SQLite when you use Postgres in Production -
There's another little known tool we use for this which works great if you're in a Java ecosystem: https://github.com/opentable/otj-pg-embedded
comment by nzroller · 2014-12-15 · in Making Postgres coding and testing fun