[Python-Dev] Unit testing (again)

Jeremy Hylton jeremy@alum.mit.edu
Tue, 13 Feb 2001 05:47:01 -0500 (EST)


>>>>> "FL" == Fredrik Lundh <fredrik@effbot.org> writes:

  >> Another issue is documentation.  I don't know how much
  >> documentation doctest has, but PyUnit's documentation is *superb*
  >> and there are no suprises, which is absolutely +1.

  FL> No surprises?  I don't know -- my brain kind of switched off
  FL> when I came to the "passing method names as strings to the
  FL> constructor" part.  Now, how Pythonic is that on a scale?

I think this is one of the issues where there is widespread argeement
that a feature is needed.  The constructor should assume, in the
absence of some other instruction, that any method name that starts
with 'test' should be considered a test method.  That's about as
Pythonic as it gets.

Jeremy