diff options
author | Joscha Feth <joscha@feth.com> | 2015-11-12 17:20:22 +1100 |
---|---|---|
committer | Joscha Feth <joscha@feth.com> | 2015-11-12 17:20:22 +1100 |
commit | 040b32197135e2d2c658b6e753bc53ee37da557c (patch) | |
tree | cb73cb01f45de995b0bcfa04fc2c184a2a5500de | |
parent | 9371c974fb48fe0e002f4776ea342eaf0347e7f4 (diff) | |
download | nose-040b32197135e2d2c658b6e753bc53ee37da557c.tar.gz |
docs: add information about how to (continuously) run a single test suite
-rw-r--r-- | DEVELOPERS.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/DEVELOPERS.txt b/DEVELOPERS.txt index a69a5da..8ca4964 100644 --- a/DEVELOPERS.txt +++ b/DEVELOPERS.txt @@ -17,6 +17,21 @@ For a quick spot check of the tests you can test against a specific version like this:: $ tox -e py26 + +Only run a portion of tests +=========================== + +To only run the xunit tests in one environment for example: + + $ ./run_tests.sh -e py26 -- unit_tests/test_xunit.py + +TDD +=== + +For a fast feedback cycle on a specific area of nose, you can use [sniffer](https://pypi.python.org/pypi/sniffer). +The following example watches your checkout and runs the xunit tests continuously: + + $ sniffer -x unit_tests/test_xunit.py All Features Must Have Tests ============================ |