mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Revise Unittest section description
This commit is contained in:
@@ -76,11 +76,11 @@ The Basics
|
|||||||
Unittest
|
Unittest
|
||||||
--------
|
--------
|
||||||
|
|
||||||
:mod:`unittest` is the batteries-included test module in the Python standard library.
|
:mod:`unittest` is the batteries-included test module in the Python standard
|
||||||
Its API will be familiar to anyone who has used any of the JUnit/nUnit/CppUnit
|
library. Its API will be familiar to anyone who has used any of the
|
||||||
series of tools.
|
JUnit/nUnit/CppUnit series of tools.
|
||||||
|
|
||||||
Creating testcases is accomplished by subclassing a :class:`TestCase` base class
|
Creating test cases is accomplished by subclassing :class:`unittest.TestCase`.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user