[Patches] [ python-Patches-732394 ] Docs for test package

SourceForge.net noreply@sourceforge.net
Mon, 05 May 2003 15:33:30 -0700


Patches item #732394, was opened at 2003-05-04 18:09
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=732394&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Nobody/Anonymous (nobody)
Summary: Docs for test package

Initial Comment:
Here is an attempt to document the test package.  I tried to explain 
what the package is for, document test_support (but only things 
relevant to unittest tests; no need to push older-style tests), how to 
write a test for the package, and how to use regrtest.py (roughly).

The only thing I am not sure on is what the preferred way to execute 
tests is anymore; is it run_suite or run_unittest from test_support?  
Now that run_unittest takes in *classes should we be pushing that 
since the code is shorter and less error-prone?

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2003-05-05 17:33

Message:
Logged In: YES 
user_id=80475

Yes, run_unittest(*classes) is the most general and 
requires the least boilerplate.

Will read through your docs tonight.  Thanks for
the effort to take this beyond (read the code to
figure out what it does).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=732394&group_id=5470