pylint-dev/pylint

Add randomization to test suite to find test isolation problems

Open

#9,063 opened on Sep 24, 2023

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (1,059 forks)batch import
Good first issueHacktoberfestNeeds PRtests

Repository metrics

Stars
 (4,978 stars)
PR merge metrics
 (Avg merge 12h 9m) (29 merged PRs in 30d)

Description

We can tackle test isolation issues in future work by adding a pytest plugin or some other solution for shuffling test cases.

Originally posted by @jacobtylerwalls in https://github.com/pylint-dev/pylint/issues/9041#issuecomment-1732605038

I'm familiar with the Django test runner's --shuffle option, but perhaps we can evaluate pytest-random-order or other plugins.

Contributor guide