[Pytest-commit] Issue #109: tox should not silently ignore multiple -e options (hpk42/tox)

anthon_van_der_neut issues-reply at bitbucket.org
Mon Aug 5 11:17:59 CEST 2013


New issue 109: tox should not silently ignore multiple -e options
https://bitbucket.org/hpk42/tox/issue/109/tox-should-not-silently-ignore-multiple-e

anthon_van_der_neut:

When you invoke "tox -e py26 --notest" and want to rerun taht py27, one would expect
that just adding " -e py27" at the end of the previous command would work. 
But that silently ingores "-e py26" and you have to do "tox -e py26,py27 --notest" (which to me is not a natural commandline invocation YMMV)

Tox should not silently ignore all but the last "-e" option and:
- give out a warning on the correct combination syntax
- add the -e options together.

The three ways of handling this (silent, warning, add together) could be set in $HOME/.tox/tox.ini, if backwards compatibility is required with silently ignoring as default.






More information about the pytest-commit mailing list