Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit be6a691

Browse filesBrowse files
committed
Merge pull request #4234 from montefra/testing_doc
DOC : improve documentation of testing dependencies
2 parents 213df25 + cee0fa9 commit be6a691
Copy full SHA for be6a691

File tree

Expand file treeCollapse file tree

1 file changed

+17
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+17
-0
lines changed

‎doc/devel/testing.rst

Copy file name to clipboardExpand all lines: doc/devel/testing.rst
+17Lines changed: 17 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.