summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HACKING.txt6
-rw-r--r--setup.cfg1
2 files changed, 3 insertions, 4 deletions
diff --git a/HACKING.txt b/HACKING.txt
index 901eb8518..5ccc318de 100644
--- a/HACKING.txt
+++ b/HACKING.txt
@@ -74,10 +74,10 @@ Running Tests
to your virtual environment:
# run a single test
- $ $VENV/bin/nosetests pyramid.tests.test_module:ClassName.test_mytestname
+ $ $VENV/bin/nosetests tests.test_module:ClassName.test_mytestname
# run all tests in a class
- $ $VENV/bin/nosetests pyramid.tests.test_module:ClassName
+ $ $VENV/bin/nosetests tests.test_module:ClassName
Optionally you can install a nose plugin `nose-selecttests` to run specific
tests.
@@ -93,7 +93,7 @@ Running Tests
tests like so:
$ $VENV/bin/pip install pytest
- $ $VENV/bin/pytest --strict pyramid/
+ $ $VENV/bin/pytest --strict pyramid/ tests/
To run individual tests (i.e., during development), see "pytest usage -
Specifying tests / selecting tests":
diff --git a/setup.cfg b/setup.cfg
index 3e10bb55b..19f338b91 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,7 +3,6 @@ zip_ok = false
[nosetests]
match = ^test
-tests = tests
nocapture = 1
[aliases]