[Zope-dev] Test fixture concepts
Martijn Faassen
faassen at startifact.com
Wed Apr 20 15:59:35 EDT 2011
On 03/29/2011 02:43 PM, Wichert Akkerman wrote:
> On 3/29/11 14:40 , Stephan Richter wrote:
>>
>> Yeah, Marius led me recently to that path too. Write a narrative in text files
>> and use doc strings of functions to do edge cases (or when you don't have time
>> for the narrative). I am getting used to it. I still much prefer the sort of
>> output comparison that doctests/manuel gives me over the assertion language
>> that unittest.TestCase requires.
>
> FWIW unittest2 has much nicer output if you use the new assert methods.
py.test has very nice output if you use the Python 'assert' statement.
There are no assert methods to remember.
Regards,
Martijn
More information about the Zope-Dev
mailing list