Skip to content

Commit 6446867

Browse files
committed
add positional args and a (commented out) debugger option for tox testenv
1 parent b837ad6 commit 6446867

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ env_list = lint, type, py38
77
description = run unit tests
88
deps =
99
pytest>=3
10-
commands = pytest -v tests/
10+
commands = pytest -v tests/ {posargs}
11+
# NOTE: to use interactive debugger, comment the above line and uncomment the following two lines
12+
# pytest-pudb
13+
#commands = pytest --pudb -v tests/ {posargs}
14+
1115

1216
[testenv:lint]
1317
description = run linters

0 commit comments

Comments
 (0)