Decision Workspace
kpostgres_fixture vs test-containers-util vs testcontainers-mockserver
Side-by-side comparison of Rust crates
35
kpostgres_fixture
growingv0.2.0
Fixture for setting up a temporary database or a temporary postgres instance and running code in an isolated environment for testing
51
test-containers-util
experimentalv0.1.4
Ergonomic, reusable Testcontainers helpers for integration tests (PostgreSQL, Redis, Valkey, AWS Moto)
61
testcontainers-mockserver
experimentalv8.0.0
Testcontainers module for MockServer — start a mockserver/mockserver Docker container from Rust tests
Core Metrics
| kpostgres_fixture | test-containers-util | testcontainers-mockserver | |
|---|---|---|---|
| Health Score | 35 | 51 | 61 |
| Total Downloads | 3.2K | 955 | 133 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 7 | 0 |
| Releases | 2 | 5 | 7 |
| Last Updated | 2628d ago | 189d ago | 25d ago |
| Age | 7y 2m | 6m | 3m |
Health Breakdown
kpostgres_fixture
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
9
test-containers-util
Maintenance
16
Quality
14
Community
7
Popularity
4
Documentation
10
testcontainers-mockserver
Maintenance
20
Quality
16
Community
10
Popularity
3
Documentation
12
Technical Details
| kpostgres_fixture | test-containers-util | testcontainers-mockserver | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.4 | 8.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 16 | 4 |
| Crate Size | 4KB | 52KB | 27KB |
| Features | 2 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | — | 1.70 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •testcontainers-mockserver leads with a health score of 61/100, but none of the options score above 80.
- •kpostgres_fixture has the most downloads (3.2K), suggesting wider adoption.
- •⚠ kpostgres_fixture has not been updated in over a year.
- •kpostgres_fixture, test-containers-util are pre-1.0 — API may change.