summaryrefslogtreecommitdiff
path: root/HACKING.txt
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 /HACKING.txt
parentd9dadcfabccb8895eda1fa948f7d7d6686e53806 (diff)
downloadpyramid-3737d3408f0c393251bd04d53210e605300cdab5.tar.gz
pyramid-3737d3408f0c393251bd04d53210e605300cdab5.tar.bz2
pyramid-3737d3408f0c393251bd04d53210e605300cdab5.zip
fix instructions in hacking.txt after refactoring
Diffstat (limited to 'HACKING.txt')
-rw-r--r--HACKING.txt6
1 files changed, 3 insertions, 3 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":