Skip to content

Commit

Permalink
DOC: document how to run slow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Jan 25, 2014
1 parent 357375c commit 8778612
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions HACKING.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ Using ``runtests.py`` is the recommended approach to running tests.
There are also a number of alternatives to it, for example in-place
build or installing to a virtualenv. See the FAQ below for details.

Some of the tests in Scipy are very slow and need to be separately
enabled. See the FAQ below for details.


SciPy structure
===============
Expand Down Expand Up @@ -391,6 +394,22 @@ course use your favourite alternative debugger; run it on the
``python`` binary with arguments ``runtests.py -g --python mytest.py``.


*How do I enable additional tests in Scipy?*

Some of the tests in Scipy's test suite are very slow and not enabled
by default. You can run the full suite via::

$ python runtests.py -g -m full

This invokes the test suite ``import scipy; scipy.test("full")``,
enabling also slow tests.

There is an additional level of very slow tests (several minutes),
which are disabled also in this case. They can be enabled by setting
the environment variable ``SCIPY_XSLOW=1`` before running the test
suite.


.. _scikit-learn: http://scikit-learn.org

.. _scikits-image: http://scikits-image.org/
Expand Down

0 comments on commit 8778612

Please sign in to comment.