[TIP] Fwd: finalizing tox's new parametrized configuration (RFC)

Carl Meyer carl at oddbird.net
Fri Aug 8 09:33:33 PDT 2014

On 08/08/2014 10:29 AM, Alexander Schepanovski wrote:
> Yes "foo-!bar" is not confusing, but "!foo-bar" is. And "!py26-!py27" is
> just weird. Also once you start using negations, you'll probably need
> parentheses. Also to understand what envs are affected you'll need to
> lookup envlist, so negation is nonlocal.
> When you don't use negation you effectively just listing all the
> possibilities which is fundamentally simpler than logic.  And configs
> should be simple. 

Ok; I'm convinced.

> What's wrong with explicitly adding "south" factor to envs that install it?

It feels verbose in a case where almost all envs include something, and
one should not. But then, that pales in comparison to the existing
verbosity removed by factorization. And given that the envs including
"south" can now be reduced to two factored lines, it's not really that
verbose after all.


More information about the testing-in-python mailing list