A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-February/012876.html below:

[Python-Dev] Unit testing (again)

[Python-Dev] Unit testing (again) [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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4