<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 17/12/2010 17:28, Alex Gaynor wrote:
<blockquote
cite="mid:AANLkTimYBtdDCQFOjXnuDFyabWpAOZLmoFMhYvP2rcOP@mail.gmail.com"
type="cite">Fellow Testers,
<div><br>
</div>
<div>I spent a bit of time this morning setting up tox for one of
my projects, django-taggit (<a moz-do-not-send="true"
href="https://github.com/alex/django-taggit" target="_blank">https://github.com/alex/django-taggit</a>).
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: <a moz-do-not-send="true"
href="https://github.com/alex/django-taggit/blob/master/tox.ini"
target="_blank">https://github.com/alex/django-taggit/blob/master/tox.ini</a> 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.</div>
<div><br>
</div>
</blockquote>
<br>
+1<br>
<br>
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.<br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<br>
<blockquote
cite="mid:AANLkTimYBtdDCQFOjXnuDFyabWpAOZLmoFMhYvP2rcOP@mail.gmail.com"
type="cite">Alex<br clear="all">
<br>
-- <br>
"I disapprove of what you say, but I will defend to the death your
right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>
"The people's good is the highest law." -- Cicero<br>
"Code can always be simpler than you think, but never as simple as
you want" -- Me<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/">http://www.voidspace.org.uk/</a>
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 <a class="moz-txt-link-freetext" href="http://www.sqlite.org/different.html">http://www.sqlite.org/different.html</a>
</pre>
</body>
</html>