summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-12-05 00:01:00 -0600
committerGitHub <noreply@github.com>2019-12-05 00:01:00 -0600
commit5fe2e877fac4c3c4aa3a4df8b371d010555df2fe (patch)
tree5460686115d735150d45f4ea7d4e2519a3c35fd3
parent7150c3b1bd0a9a5a2ce3ff5af81f4407e7f314f9 (diff)
parent3737d3408f0c393251bd04d53210e605300cdab5 (diff)
downloadpyramid-5fe2e877fac4c3c4aa3a4df8b371d010555df2fe.tar.gz
pyramid-5fe2e877fac4c3c4aa3a4df8b371d010555df2fe.tar.bz2
pyramid-5fe2e877fac4c3c4aa3a4df8b371d010555df2fe.zip
Merge pull request #3538 from mmerickel/fix-hacking
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]