Skip to content

Commit cee0fa9

Browse files
committed
Added mock, coverage and pep8 dep. Added pep8 options
1 parent daa51ca commit cee0fa9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/devel/testing.rst

+17
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,21 @@ The following software is required to run the tests:
1818

1919
- nose_, version 1.0 or later
2020

21+
- `mock <http://www.voidspace.org.uk/python/mock/>`_, when running python
22+
versions < 3.3
23+
2124
- `Ghostscript <http://pages.cs.wisc.edu/~ghost/>`_ (to render PDF
2225
files)
2326

2427
- `Inkscape <http://inkscape.org>`_ (to render SVG files)
2528

29+
Optionally you can install:
30+
31+
- `coverage <http://nedbatchelder.com/code/coverage/>`_ to collect coverage
32+
information
33+
34+
- `pep8 <http://pep8.readthedocs.org/en/latest>`_ to test coding standards
35+
2636
Running the tests
2737
-----------------
2838

@@ -36,6 +46,13 @@ The script can take any of the usual `nosetest arguments`_, such as
3646
``--with-coverage`` enable collecting coverage information
3747
=================== ===========
3848

49+
Additionally it is possible to run only coding standard test or disable them:
50+
51+
=================== ===========
52+
``--pep8`` run only PEP8 checks
53+
``--no-pep8`` disable PEP8 checks
54+
=================== ===========
55+
3956
To run a single test from the command line, you can provide a
4057
dot-separated path to the module followed by the function separated by
4158
a colon, e.g., (this is assuming the test is installed)::

0 commit comments

Comments
 (0)