18👍
Try adding {posargs}
in the commands section of your tox.ini, like this:
commands =
python manage.py test {posargs}
Then at the command line, something like:
tox -- --pattern='some_specific_test.py'
Everything after the --
will be substituted in as {posargs}
.
Read the official documentation here.
0👍
This looks like it’s the latest doc for tox positional arguments: Substitions for positional arguments in commands
Source:stackexchange.com