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/2000-December/010849.html below:

[Python-Dev] unit testing and Python regression test

[Python-Dev] unit testing and Python regression testJeremy Hylton jeremy@alum.mit.edu
Fri, 1 Dec 2000 14:27:14 -0500 (EST)
There was recently some idle chatter in Guido's living room about
using a unit testing framework (like PyUnit) for the Python regression
test suite.  We're also writing tests for some DC projects, and need
to decide what framework to use.

Does anyone have opinions on test frameworks?  A quick web search
turned up PyUnit (pyunit.sourceforge.net) and a script by Tres Seaver
that allows implements xUnit-style unit tests.  Are there other tools
we should consider?

Is anyone else interested in migrating the current test suite to a new
framework?  I hope the new framework will allow us to improve the test
suite in a number of ways:

    - run an entire test suite to completion instead of stopping on
      the first failure

    - clearer reporting of what went wrong

    - better support for conditional tests, e.g. write a test for
      httplib that only runs if the network is up.  This is tied into
      better error reporting, since the current test suite could only
      report that httplib succeeded or failed.

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