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
>> and use doc strings of functions to do edge cases (or when you don't have
>> 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.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -