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/012841.html below:

[Python-Dev] Unit testing (again)

[Python-Dev] Unit testing (again)Michel Pelletier michel@digicool.com
Mon, 12 Feb 2001 18:06:25 -0800 (PST)
On Mon, 12 Feb 2001, Andrew Kuchling wrote:

> * A way to write test cases that doesn't bring the test method to a halt if 
>   something raises an unexpected exception

I'm not sure what you mean by this, but Jim F. recently sent this email
around internally:

"""
Unit tests are cool.

One problem is that after you find a problem, it's
hard to debug it, because unittest catches the exceptions.

I added debug methods to TestCase and TestSuite so
that you can run your tests under a debugger.  When you are
ready to debug a test failure, just call debug() on your test
suite or case under debugger control.

I checked this change into our CVS and send the auther of PyUnit a
message.

Jim
"""

I don't think it adressed your comment, but it is an interesting related
feature.

-Michel




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