[Pytest-commit] Issue #189: Allow parametrization of any testenv (hpk42/tox)

Daniel Neuhäuser issues-reply at bitbucket.org
Tue Sep 23 18:50:26 CEST 2014


New issue 189: Allow parametrization of any testenv
https://bitbucket.org/hpk42/tox/issue/189/allow-parametrization-of-any-testenv

Daniel Neuhäuser:

As discussed on IRC with @hpk42, I would like the ability to parametrize any testenv and not just the normal [testenv] one. One use case I have is a testenv for testing doctests on different Python interpreters, so basically I would like the following to work:

```
#!ini
[tox]
envlist = docs-examples-{py27,py33,py34}

[testenv:docs-examples]
changedir = docs
deps = sphinx
commands = sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/doctest
```

/cc @suor




More information about the pytest-commit mailing list