From 118cae2df8c89b63a2dcecab0728e6199f101fa1 Mon Sep 17 00:00:00 2001 From: Carolina Date: Sun, 22 Mar 2015 11:19:22 +0000 Subject: [PATCH] Fixed #23666 -- Recommended Git Bash for running unit tests on Windows. --- docs/internals/contributing/writing-code/unit-tests.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 4934b40a81..694bec7845 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -34,6 +34,11 @@ sample settings module that uses the SQLite database. To run the tests:: $ cd django-repo/tests $ PYTHONPATH=..:$PYTHONPATH ./runtests.py +.. admonition:: Windows users + + We recommend something like `Git Bash `_ to run + the tests using the above approach. + You can avoid typing the ``PYTHONPATH`` bit each time by adding your Django checkout to your ``PYTHONPATH`` or by installing the source checkout using pip. See :ref:`installing-development-version`.