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

Masiar, Peter (PMASIAR) PMASIAR at arinc.com
Thu Aug 7 07:08:20 PDT 2014


Opinions are cheap, I have plenty :-)
IMHO "-" should be reserved for NOT. IIRC Google uses it as such. 
"+" reads much easier as AND

-----Original Message-----
From: testing-in-python-bounces at lists.idyll.org [mailto:testing-in-python-bounces at lists.idyll.org] On Behalf Of holger krekel
Sent: Thursday, August 07, 2014 3:48 AM
To: Testing in Python
Cc: suor.web at gmail.com
Subject: [TIP] finalizing tox's new parametrized configuration (RFC)


I'd like to ask for suggestions/feedback regarding finalizing the new tox parametrization configuration syntax.  What we currently have:

https://testrun.org/tox/dev/config.html#generating-environments-conditional-settings

The question now is how to complete the "factor conditional settings" syntax with "OR" and "AND" operations.  We are discussing it on this issue:

    https://bitbucket.org/hpk42/tox/issue/183/boolean-algebra-and-factors

I currently lean towards using "," for OR and "-" for AND and am now looking at my own tox.ini usages.

Any opinions?  Do you have tox.ini files which use combinations (currently by exhaustively explicitely listing them) and can post them here so we could see to transform them using the new syntax?  

You can already try the above documentated generative features if you install a tox dev candidate like this:

    pip install --pre -i https://devpi.net/hpk/dev/ -U tox
    # should give you 1.8.0.dev1

thanks and best,
holger

_______________________________________________
testing-in-python mailing list
testing-in-python at lists.idyll.org
http://lists.idyll.org/listinfo/testing-in-python



More information about the testing-in-python mailing list