Permalink
Browse files

Added section to explain how to run the tests locally.

  • Loading branch information...
jezdez committed Aug 3, 2012
1 parent 0b0a465 commit 0f326f345c3a822d728ed96976afaaa16f52615a
Showing with 13 additions and 0 deletions.
  1. +13 −0 docs/contributing.txt
View
@@ -111,6 +111,19 @@ comment about the test results to the pull requests. Alternatively you
can also login at Travis and enable your fork to run there, too. See the
`Travis documentation`_ to read about how to do that.
+Alternatively, create a virtualenv and activate it, then install the
+requirements **in the virtualenv**::
+
+ $ virtualenv compressor_test
+ $ source compressor_test/bin/activate
+ (compressor_test) $ pip install -e .
+ (compressor_test) $ pip install -r requirements/tests.txt
+ (compressor_test) $ pip install Django
+
+Then run ``make test`` to run the tests. Please note that this only tests
+django_compressor in the Python version you've created the virtualenv with
+not all the versions that are required to be supported.
+
Contributing Documentation
--------------------------

0 comments on commit 0f326f3

Please sign in to comment.