summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-12-04 23:05:17 -0600
committerMichael Merickel <michael@merickel.org>2019-12-04 23:05:17 -0600
commit3737d3408f0c393251bd04d53210e605300cdab5 (patch)
tree5f32ff814a222f7892e079239644788ca3484c65
parentd9dadcfabccb8895eda1fa948f7d7d6686e53806 (diff)
downloadpyramid-3737d3408f0c393251bd04d53210e605300cdab5.tar.gz
pyramid-3737d3408f0c393251bd04d53210e605300cdab5.tar.bz2
pyramid-3737d3408f0c393251bd04d53210e605300cdab5.zip
fix instructions in hacking.txt after refactoring
-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]