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

holger krekel holger at merlinux.eu
Fri Aug 8 02:35:49 PDT 2014


On Thu, Aug 07, 2014 at 14:08 +0000, Masiar, Peter (PMASIAR) wrote:
> Opinions are cheap, I have plenty :-)
> IMHO "-" should be reserved for NOT. IIRC Google uses it as such. 
> "+" reads much easier as AND

Thanks but i see as a main constraint that we keep the syntax consistent
with currently existing tox syntax, though.  Sorry i didn't mention that
before explicitely.

cheers and thanks,
holger


> -----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