summaryrefslogtreecommitdiff
path: root/tests/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/README.rst')
-rw-r--r--tests/README.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/README.rst b/tests/README.rst
index 73bce435e2..7d4ddb513a 100644
--- a/tests/README.rst
+++ b/tests/README.rst
@@ -1,8 +1,10 @@
-To run the test suite::
+To run the test suite, first, create and activate a virtual environment. Then
+install some requirements and run the tests::
$ cd tests
+ $ pip install -e ..
$ pip install -r requirements/py3.txt # or py2.txt
- $ PYTHONPATH=..:$PYTHONPATH ./runtests.py
+ $ ./runtests.py
For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.