pylint-dev/pylint

Add randomization to test suite to find test isolation problems

Open

#9063 opened on Sep 24, 2023

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

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