Skip to content

Commit

Permalink
DEV: Added {posargs} to tox.ini (#1055)
Browse files Browse the repository at this point in the history
This allows adding options from command line. 

For example, run only one test in py39 env using an option -k:
$ tox -e py39 -- -k test_issue585

For example, run only one test in all envs using an option -k:
$ tox -- -k test_issue585

Co-authored-by: Harry Karvonen <harry.karvonen@onebyte.fi>
  • Loading branch information
Hatell and Harry Karvonen committed Jul 4, 2022
1 parent 04d576c commit 32ab2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -8,4 +8,4 @@ deps =
pytest
pytest-cov
pycryptodome
commands = pytest tests --cov --cov-report term-missing -vv
commands = pytest tests --cov --cov-report term-missing -vv {posargs}

0 comments on commit 32ab2a3

Please sign in to comment.