Skip to content

Add pytest-mrt to Plugins section#67

Open
croc100 wants to merge 1 commit into
augustogoulart:masterfrom
croc100:add-pytest-mrt
Open

Add pytest-mrt to Plugins section#67
croc100 wants to merge 1 commit into
augustogoulart:masterfrom
croc100:add-pytest-mrt

Conversation

@croc100

@croc100 croc100 commented Jun 7, 2026

Copy link
Copy Markdown

I've been bitten a few times by migrations that applied cleanly but failed on rollback — sometimes silently, sometimes with data loss. Built pytest-mrt to catch these before they hit production.

It does two things: static analysis on migration files (44 patterns, no database needed), and dynamic verification that actually runs the up/down/up cycle against a real database and checks that schema and data survive the round trip. Works with both Alembic and Django.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant