summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-11-07 16:02:07 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-11-07 16:02:07 (GMT)
commiteaaa771816ccb514cef2cceeb883fc8b8912b6ff (patch)
tree7f3fb5459ede2b50a21b6e7a56e85ac8d78799c0 /Doc
parentd7b6ad4b600fb8c89683d6efa6b350d5d47a5700 (diff)
downloadcpython-eaaa771816ccb514cef2cceeb883fc8b8912b6ff.zip
cpython-eaaa771816ccb514cef2cceeb883fc8b8912b6ff.tar.gz
cpython-eaaa771816ccb514cef2cceeb883fc8b8912b6ff.tar.bz2
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".
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libunittest.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libunittest.tex b/Doc/lib/libunittest.tex
index e739a85..2bcda36 100644
--- a/Doc/lib/libunittest.tex
+++ b/Doc/lib/libunittest.tex
@@ -35,7 +35,8 @@ starting a server process.
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