[Zope-Checkins] CVS: Zope3/src/persistent/tests - test_persistent.py:1.5 persistent.txt:1.2

Jeremy Hylton jeremy at zope.com
Thu Mar 4 14:54:57 EST 2004


On Thu, 2004-03-04 at 03:56, Chris Withers wrote:
> Is there a summary of where the decision was made to use DocTests rather than 
> real tests with comments or docstrings in the test code?

There was no decision made.  It's just an experiment I tried.  I don't
think it's helpful to label the two approachs doctests and real tests,
by the way.  A doctest is a real test; it just has a different set of
baggage that tests written using unittest.

> Personally, I think the doctests below are in danger of looking butt ugly :-S

Personally, I find them easier to understand than any of the other tests
we have.

This is really an issue that's up to Jim.  I'm sure discussion is
useful, but probably not on zope-checkins.

Jeremy





More information about the Zope-Checkins mailing list