[Checkins] Re: SVN: zope.sendmail/trunk/src/zope/sendmail/ merging

Philipp von Weitershausen philipp at weitershausen.de
Mon Aug 20 09:57:51 EDT 2007


On 20 Aug 2007, at 14:26 , Andreas Jung wrote:
>> Using the mock test at least we can improve test coverage,  is it?
>
> Real world tests against the variety of different mailservers is  
> _much_ more
> important than test coverage and testing against a non-real-world  
> environment. Such artificial tests test the code against "how the  
> world should" be but it don't tell you if your code actually works  
> in the real world.

I agree that real world testing is important in this particular case,  
but Baiju does have a point: the code paths that throw the  
RuntimeErrors could and *should* be tested with mock objects.



More information about the Checkins mailing list