postgresql-embedded
embedded-postgres
postgresql-embedded | embedded-postgres | |
---|---|---|
3 | 7 | |
479 | 408 | |
- | 3.9% | |
0.0 | 5.4 | |
over 5 years ago | 9 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgresql-embedded
- SQLite the only database you will ever need in most cases
-
Thoughts on Micronaut vs. Quarkus?
I think this is the component - away from laptop at the moment: https://github.com/yandex-qatools/postgresql-embedded
-
Experiment: using PostgreSQL as a user process
https://github.com/yandex-qatools/postgresql-embedded (no longer maintained)
embedded-postgres
-
Test Postgres in Python Like SQLite
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.
-
Using short lived Postgres servers for testing
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 overhead is very minimal.
- Testcontainers
-
Why you should probably be using SQLite
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 logic.
- Ask HN: What's your favorite software testing framework and why?
-
Hctree is an experimental high-concurrency database back end for SQLite
I use an embedded postgres testing library for the JVM that does something along those lines.
Well no actually it just unpacks the tar file in a temp dir and runs the full postgres, but it mostly feels like what you describe (minus the single file part) and starts surprisingly fast. That would totally work for a little proof of concept (https://github.com/zonkyio/embedded-postgres)
- Thoughts on Micronaut vs. Quarkus?
What are some alternatives?
otj-pg-embedded - Java embedded PostgreSQL component for testing
hitchstory - Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.
cheapo_website - An experiment in production SQLite on render.com and fly.io
datadriven - Data-Driven Testing for Go
litefs-js - JavaScript utilities for working with LiteFS on Fly.io
libsqlfs - a library that implements a POSIX style filesystem on top of an SQLite database