I published a new article — and here’s why you might want to read it
I’ve just released a new post: “How we made Python/pytest suites 8.5× faster” 🚀
In this article, I break down how we reduced test suites that once took over an hour to run to about 2 minutes — without rewriting everything from scratch.
Here’s what’s inside:
- 🧩 Custom Pytest hooks + execution-time metrics + Grafana dashboards to analyse bottlenecks
- 🔀 Splitting large monolithic test files into smaller modules to improve parallelisation with xdist
- ⏱️ Replacing rigid sleep() calls with smart retry-based waiting and structured wait_* functions
- 🛠️ Reworking test-data setup and isolation to avoid collisions in parallel runs
- 📉 How these changes stabilised CI, reduced flakes, and restored an actually “live” development cycle
If you’re working with large Python test suites, flaky pipelines, or slow feedback loops — this breakdown might give you a few practical ideas to speed things up.
📄 You can read the article on Medium or Habr
🔙 Earlier article for context: “Iterative CI development in GitLab for an automated testing framework” on Medium or Habr