[Pytest-commit] Issue #292: Negated factor conditions. (hpk42/tox)
Tai Lee
issues-reply at bitbucket.org
Fri Dec 4 08:45:54 EST 2015
New issue 292: Negated factor conditions.
https://bitbucket.org/hpk42/tox/issues/292/negated-factor-conditions
Tai Lee:
I'd like to do something like:
```
[testenv]
commands =
cov: coverage run ... runtests.py
cov: coveralls
!cov: python runtests.py
```
Currently I have to declare factor conditions for `cov` and `nocov` instead, which means users must always specific either `cov` or `nocov` with `tox -e`. If they forget, `tox` just reports success without running any command:
```
[testenv]
commands =
cov: coverage run ... runtests.py
cov: coveralls
nocov: python runtests.py
```
More information about the pytest-commit
mailing list