mirror of
https://github.com/django/django.git
synced 2025-04-13 12:02:20 +00:00
"test --shuffle" skipped test methods when test classes were mixed. This changes runner.py's reorder_tests() to group by TestCase class. Regression in 90ba716bf060ee7fef79dc230b0b20644839069f.
To run the test suite, first, create and activate a virtual environment. Then install some requirements and run the tests:: $ cd tests $ python -m pip install -e .. $ python -m pip install -r requirements/py3.txt $ ./runtests.py For more information about the test suite, see https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.