pytest-random-order

JSON →
library 1.2.0 ·python
verified May 21, 2026

pytest-random-order is a pytest plugin that randomises the order of tests. This can be useful to detect a test that passes just because it happens to run after an unrelated test that leaves the system in a favourable state. The plugin allows users to control the level of randomness they want to introduce and to disable reordering on subsets of tests. Tests can be rerun in a specific order by passing a seed value reported in a previous test run. Current version is 1.2.0.

total hits 13
actors 5 distinct systems
last hit 4d ago GPTBot
GPTBot
6
Script
3
ClaudeBot
1
ChatGPT-User
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇮🇳 India