mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
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".
This commit is contained in:
parent
d7b6ad4b60
commit
eaaa771816
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue