Browse Source

[docs][contributing] Direct users to install dev requirements. Closes #2083

Ask Solem 9 years ago
parent
commit
d0a0aafde4
2 changed files with 21 additions and 4 deletions
  1. 10 2
      CONTRIBUTING.rst
  2. 11 2
      docs/contributing.rst

+ 10 - 2
CONTRIBUTING.rst

@@ -443,12 +443,20 @@ To run the Celery test suite you need to install a few dependencies.
 A complete list of the dependencies needed are located in
 ``requirements/test.txt``.
 
-Installing the test requirements:
+If you're working on the development version, then you need to
+install the development requirements first:
+::
+
+    $ pip install -U -r requirements/dev.txt
+
+Both the stable and the development version have testing related
+dependencies, so install these next:
 ::
 
     $ pip install -U -r requirements/test.txt
+    $ pip install -U -r requirements/default.txt
 
-When installation of dependencies is complete you can execute
+After installing the dependencies required, you can now execute
 the test suite by calling ``nosetests``:
 ::
 

+ 11 - 2
docs/contributing.rst

@@ -447,13 +447,22 @@ To run the Celery test suite you need to install a few dependencies.
 A complete list of the dependencies needed are located in
 :file:`requirements/test.txt`.
 
-Installing the test requirements:
+If you're working on the development version, then you need to
+install the development requirements first:
+
+.. code-block:: console
+
+    $ pip install -U -r requirements/dev.txt
+
+Both the stable and the development version have testing related
+dependencies, so install these next:
 
 .. code-block:: console
 
     $ pip install -U -r requirements/test.txt
+    $ pip install -U -r requirements/default.txt
 
-When installation of dependencies is complete you can execute
+After installing the dependencies required, you can now execute
 the test suite by calling ``nosetests``:
 
 .. code-block:: console