[Proctor-checkins] CVS: Proctor/proctorlib cui.py,1.17,1.18
Status: Alpha
Brought to you by:
doughellmann
|
From: Doug H. <dou...@us...> - 2003-04-23 12:21:41
|
Update of /cvsroot/proctor/Proctor/proctorlib
In directory sc8-pr-cvs1:/tmp/cvs-serv9228/proctorlib
Modified Files:
cui.py
Log Message:
Added class docstring for proctorbatch and fixed formatting of some of
the help messages for options.
Index: cui.py
===================================================================
RCS file: /cvsroot/proctor/Proctor/proctorlib/cui.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** cui.py 29 Jan 2003 23:27:40 -0000 1.17
--- cui.py 23 Apr 2003 12:20:43 -0000 1.18
***************
*** 73,77 ****
class proctorbatch(proctorlib.CommandLineApp):
!
shortArgumentsDescription = "[<directory name> ...]"
--- 73,85 ----
class proctorbatch(proctorlib.CommandLineApp):
! """
! Proctor is a tool for running unit tests. It enhances the
! existing unittest module to provide the ability to find all tests
! in a set of code, categorize them, and run some or all of them.
! Test output may be generated in a variety of formats to support
! parsing by another tool or simple, nicely formatted, reports for
! human review.
! """
!
shortArgumentsDescription = "[<directory name> ...]"
***************
*** 106,111 ****
"""Run only the tests in the specified category.
! Warning: If there are no tests in a category, an error will
! not be produced. The test suite will appear to be empty.
"""
self.category = categoryName
--- 114,120 ----
"""Run only the tests in the specified category.
! Warning: If there are no tests in a category,
! an error will not be produced. The test suite
! will appear to be empty.
"""
self.category = categoryName
***************
*** 113,117 ****
def optionHandler_interleaved(self):
! """Interleave error and failure messages with the test list.
"""
self.interleaved = 1
--- 122,127 ----
def optionHandler_interleaved(self):
! """Interleave error and failure messages
! with the test list.
"""
self.interleaved = 1
|