Skip to content
rusthacks.dev

Library

Everything you need to level up your coding skills.

Flat illustration for the post “Axum Integration Tests With a Real Database in Docker”, composed around web.
WebGuide

Axum Integration Tests With a Real Database in Docker

Test an Axum API against a real Postgres started by Testcontainers: one container per test binary, one migrated database per test, the leaks and version traps that bite, and measured timings for each isolation strategy.

18 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.