pylint-dev/pylint

Add randomization to test suite to find test isolation problems

Aperta

#9063 aperta il 24 set 2023

 (1 commento) (0 reazioni) (0 assegnatari)Python (1059 fork)batch import
Good first issueHacktoberfestNeeds PRtests

Metriche repository

Star
 (4978 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor