Preparing for system design interviews?  Try bugzed.com →

pytest-mysql

JSON →
library 4.0.0 ·python
verified Jun 28, 2026

pytest-mysql is a pytest plugin, version 4.0.0, that facilitates testing code reliant on a running MySQL/MariaDB database. It provides pytest fixtures for managing MySQL process lifecycle (`mysql_proc`) and client connections (`mysql`, `mysql_noproc`), ensuring isolated and repeatable database environments for tests. It automatically handles starting and stopping MySQL instances for test sessions and can clean up test databases per function. The project is actively maintained, with the latest version released in December 2024.

total hits 11
actors 4 distinct systems
last hit 6d ago ByteDance
GPTBot
4
Script
1
ByteDance
1
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom