Skip to content

Commit 8778612

Browse files
committed
DOC: document how to run slow tests
1 parent 357375c commit 8778612

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

HACKING.rst.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ Using ``runtests.py`` is the recommended approach to running tests.
197197
There are also a number of alternatives to it, for example in-place
198198
build or installing to a virtualenv. See the FAQ below for details.
199199

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

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

393396

397+
*How do I enable additional tests in Scipy?*
398+
399+
Some of the tests in Scipy's test suite are very slow and not enabled
400+
by default. You can run the full suite via::
401+
402+
$ python runtests.py -g -m full
403+
404+
This invokes the test suite ``import scipy; scipy.test("full")``,
405+
enabling also slow tests.
406+
407+
There is an additional level of very slow tests (several minutes),
408+
which are disabled also in this case. They can be enabled by setting
409+
the environment variable ``SCIPY_XSLOW=1`` before running the test
410+
suite.
411+
412+
394413
.. _scikit-learn: http://scikit-learn.org
395414

396415
.. _scikits-image: http://scikits-image.org/

0 commit comments

Comments
 (0)