2016-10-27 07:15:33 +08:00
|
|
|
To run the test suite, first, create and activate a virtual environment. Then
|
|
|
|
install some requirements and run the tests::
|
2014-11-15 18:29:58 +08:00
|
|
|
|
2014-11-30 00:45:06 +08:00
|
|
|
$ cd tests
|
2016-10-27 07:15:33 +08:00
|
|
|
$ pip install -e ..
|
2014-11-30 00:45:06 +08:00
|
|
|
$ pip install -r requirements/py3.txt # or py2.txt
|
2016-10-27 07:15:33 +08:00
|
|
|
$ ./runtests.py
|
2014-11-15 18:29:58 +08:00
|
|
|
|
|
|
|
For more information about the test suite, see
|
|
|
|
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.
|