Author borja.ruiz
Recipients Julian, Yaroslav.Halchenko, abingham, borja.ruiz, brian.curtin, eric.araujo, eric.snow, exarkun, ezio.melotti, fperez, hpk, michael.foord, nchauvat, ncoghlan, pitrou, r.david.murray, spiv
Date 2012-07-02.11:23:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAONoiAH92se6yF9gKihnr1vH1VP2coOQtt3piz2osA7Nck+4RA@mail.gmail.com>
In-reply-to <1338429461.78.0.271322068709.issue7897@psf.upfronthosting.co.za>
Content
Hi Murray!

I use a lot od parametrized tests. I usually use the ENV to pass these
parameters and/or a custon configuration file.

What is your approach to parametrize all the test stuff?

Regards,

Borja.

On 31 May 2012 03:57, R. David Murray <report@bugs.python.org> wrote:

>
> R. David Murray <rdmurray@bitdance.com> added the comment:
>
> People interested in this issue might be interested in changeset
> e6a33938b03f.  I use parameterized unit tests in email a lot, and was
> annoyed by the fact that I couldn't run the tests individually using the
> unittest CLI.  The fix for that turned out to be trivial, but by the time I
> figured it out, I'd already written most of the metaclass.  So since the
> metaclass reduces the boilerplate (albeit at the cost of looking like black
> magic), I decided to go with it.  And the metaclass at least avoids the
> rather questionable use of the "modify locals()" hack I was using before.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue7897>
> _______________________________________
> _______________________________________________
> Python-bugs-list mailing list
> Unsubscribe:
> http://mail.python.org/mailman/options/python-bugs-list/isec%40alienvault.com
>
>
History
Date User Action Args
2012-07-02 11:23:59borja.ruizsetrecipients: + borja.ruiz, spiv, exarkun, ncoghlan, pitrou, ezio.melotti, eric.araujo, r.david.murray, michael.foord, brian.curtin, hpk, fperez, Yaroslav.Halchenko, nchauvat, Julian, abingham, eric.snow
2012-07-02 11:23:58borja.ruizlinkissue7897 messages
2012-07-02 11:23:57borja.ruizcreate