Skip to content

Commit bf1b482

Browse files
committed
Updated the docs on running tests.
1 parent 7dcf76f commit bf1b482

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

docs/running_tests.rst

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,30 @@ Running Tests
77
Dependencies
88
============
99

10-
``Haystack`` uses the `Mock <http://pypi.python.org/pypi/mock>`_ library for
11-
testing. You will need to install it before running the tests::
10+
Everything
11+
----------
12+
13+
The simplest way to get up and running with Haystack's tests is to run::
14+
15+
pip install -r tests/requirements.txt
16+
17+
This installs all of the backend libraries & all dependencies for getting the
18+
tests going. You will still have to setup search servers (for running Solr
19+
tests, the spatial Solr tests & the Elasticsearch tests).
20+
21+
22+
Cherry-Picked
23+
-------------
24+
25+
If you'd rather not run all the tests, install only the backends you need.
26+
Additionally, ``Haystack`` uses the Mock_ library for testing. You will need
27+
to install it before running the tests::
1228

1329
pip install mock
1430

31+
.. _Mock: http://pypi.python.org/pypi/mock
32+
33+
1534
Core Haystack Functionality
1635
===========================
1736

0 commit comments

Comments
 (0)