[Python-checkins] python/dist/src/Doc/lib libunittest.tex, 1.18,
1.19
jlgijsbers at users.sourceforge.net
jlgijsbers at users.sourceforge.net
Sun Nov 7 17:02:20 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23284
Modified Files:
libunittest.tex
Log Message:
Clarify that it's not necessary to subclass from TestCase to create a
test case. As Jeremy put it: "subclassing is an implementation
technique, not a type declaration".
Index: libunittest.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libunittest.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- libunittest.tex 31 Dec 2003 04:34:50 -0000 1.18
+++ libunittest.tex 7 Nov 2004 16:02:07 -0000 1.19
@@ -35,7 +35,8 @@
A \dfn{test case} is the smallest unit of testing. It checks for a
specific response to a particular set of inputs. PyUnit provides a
base class, \class{TestCase}, which may be used to create new test
-cases.
+cases. You may provide your own implementation that does not subclass
+from \class{TestCase}, of course.
\term{test suite}
A \dfn{test suite} is a collection of test cases, test suites, or
More information about the Python-checkins
mailing list