diff options
| author | Tom Lazar <tomster@pyfidelity.com> | 2013-08-17 16:10:45 +0200 |
|---|---|---|
| committer | Tom Lazar <tomster@pyfidelity.com> | 2013-08-17 16:16:50 +0200 |
| commit | 50f23dd4fb2ea8690893ac2cf20a0f0483b32a0d (patch) | |
| tree | 6cf408a88f9d8f75fa09e2f8a7cbc19f8c973796 | |
| parent | 98b383ef54d16c977561101dde1addd34ba34240 (diff) | |
| download | pyramid-50f23dd4fb2ea8690893ac2cf20a0f0483b32a0d.tar.gz pyramid-50f23dd4fb2ea8690893ac2cf20a0f0483b32a0d.tar.bz2 pyramid-50f23dd4fb2ea8690893ac2cf20a0f0483b32a0d.zip | |
include and mention the `nose-selecttests <https://pypi.python.org/pypi/nose-selecttests/>`_ plugin
| -rw-r--r-- | HACKING.txt | 10 | ||||
| -rw-r--r-- | setup.py | 1 |
2 files changed, 8 insertions, 3 deletions
diff --git a/HACKING.txt b/HACKING.txt index d664d6bfc..0d28905b6 100644 --- a/HACKING.txt +++ b/HACKING.txt @@ -112,9 +112,13 @@ Coding Style Running Tests -------------- -- To run tests for Pyramid on a single Python version, run ``python setup.py - test`` against the Python interpreter from virtualenv into which - you've ``setup.py develop``-ed Pyramid. +- To run all tests for Pyramid on a single Python version, run ``nosetests`` from + your development virtualenv (See *Using a Development Checkout* above). + +- To run individual tests (i.e. during development) you can use a regular + expression with the ``-t`` parameter courtesy of the `nose-selecttests + <https://pypi.python.org/pypi/nose-selecttests/>`_ plugin that's been installed (along with nose itself) via ``python setup.py dev``. The easiest usage is to + simply provide the verbatim name of the test you're working on. - To run the full set of Pyramid tests on all platforms, install ``tox`` (http://codespeak.net/~hpk/tox/) into a system Python. The ``tox`` console @@ -65,6 +65,7 @@ docs_extras = [ testing_extras = tests_require + [ 'nose', + 'nose-selecttests', 'coverage', 'virtualenv', # for scaffolding tests ] |
