[TIP] unittest issues and development

Michael Foord fuzzyman at voidspace.org.uk
Wed Feb 10 03:32:04 PST 2010


On 10/02/2010 11:24, Jonathan Lange wrote:
> On Tue, Feb 9, 2010 at 7:17 PM, Michael Foord<fuzzyman at voidspace.org.uk>  wrote:
>    
>> Hello all,
>>
>> For those of you interested in the development of unittest, I've just sent a
>> couple of emails about future development. The first lists a bunch of small
>> issues that need dealing with and the second about setUp / tearDown of class
>> and module (a subject I know several of you feel strongly about and there is
>> no *particular* need to revisit that debate...).
>>
>> unittest: shortDescription, _TextTestResult and other issues
>> http://mail.python.org/pipermail/python-dev/2010-February/097520.html
>>
>>      
> I like pretty much all of the plans here. In general I ignore
> shortDescription() in favour of id(). Perhaps we should just deprecate
> it?
>
>    

It seems like people are using it by overriding it. I'm happy to leave 
it - given that even trivial changes to it break twisted there isn't 
much we can do with it. (Apparently changing comments in some standard 
library modules can break twisted.) :-)
> [snip...]
>> All the best,
>>
>>      
> You too. FWIW, I'll be at PyCon after all, and would like to be
> involve in any testing BoF that goes on.
>
>    
See you there!

All the best,

Michael Foord

> jml
>    


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.





More information about the testing-in-python mailing list