Rename testX.py to test_X.py to make py.test work out of the box (#181)
This rename makes py.test/py.test-3 find the test suite out of the
box. Example command lines:
# Running the test suite (optionally include "-v")
$ py.test-3
# Running the test suite with coverage enabled (and branch
# coverage).
$ py.test-3 --cov=scour --cov-report=html --cov-branch
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
dd2155e576
commit
a15acb3e4e
5 changed files with 6 additions and 6 deletions
2
tox.ini
2
tox.ini
|
|
@ -18,7 +18,7 @@ deps =
|
|||
|
||||
commands =
|
||||
scour --version
|
||||
coverage run --parallel-mode --source=scour testscour.py
|
||||
coverage run --parallel-mode --source=scour test_scour.py
|
||||
|
||||
|
||||
[testenv:flake8]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue