[TIP] tox config format

Michael Foord fuzzyman at voidspace.org.uk
Fri Dec 17 10:00:00 PST 2010


On 17/12/2010 17:28, Alex Gaynor wrote:
> Fellow Testers,
>
> I spent a bit of time this morning setting up tox for one of my 
> projects, django-taggit (https://github.com/alex/django-taggit).  It's 
> awesome, in addition to testing with multiples pythons it's easy to 
> test multiple versions of Django by creating custom testenvs and 
> altering the deps.  However, it's rather verbose: most of the items: 
> https://github.com/alex/django-taggit/blob/master/tox.ini are 
> copy-pastes of one another.  I'm wondering whether there isn't 
> something that could be done to simplify this, some way to take the 
> set of base envs (py25, py26, etc.) and parameterize them along some 
> axis, such as deps.  I don't have a specific syntax proposal, but I'm 
> curious if anyone else does.
>

+1

Setting up tox is not hard, so props to Holger for that, but when you 
are configuring multiple interpreters there is a lot of repetition.

All the best,

Michael Foord

> Alex
>
> -- 
> "I disapprove of what you say, but I will defend to the death your 
> right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero
> "Code can always be simpler than you think, but never as simple as you 
> want" -- Me
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python


-- 

http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20101217/b7f14736/attachment.htm>


More information about the testing-in-python mailing list