File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Some general rules of testing:
1616 alone, and also within the test suite, regardless of the order they are called.
1717 The implication of this rule is that each test must be loaded with a fresh
1818 dataset and may have to do some cleanup afterwards. This is usually
19- handled by `` setUp() `` and `` tearDown() ` ` methods.
19+ handled by :meth: ` setUp() ` and :meth: ` tearDown() ` methods.
2020
2121- Try hard to make tests that run fast. If one single test needs more than a
2222 few millisecond to run, development will be slowed down or the tests will not
@@ -75,11 +75,11 @@ The Basics
7575Unittest
7676--------
7777
78- Unittest is the batteries-included test module in the Python standard library.
78+ :mod: ` unittest ` is the batteries-included test module in the Python standard library.
7979Its API will be familiar to anyone who has used any of the JUnit/nUnit/CppUnit
8080series of tools.
8181
82- Creating testcases is accomplished by subclassing a TestCase base class
82+ Creating testcases is accomplished by subclassing a :class: ` TestCase ` base class
8383
8484.. code-block :: python
8585
@@ -100,7 +100,7 @@ As of Python 2.7 unittest also includes its own test discovery mechanisms.
100100Doctest
101101-------
102102
103- The doctest module searches for pieces of text that look like interactive
103+ The :mod: ` doctest ` module searches for pieces of text that look like interactive
104104Python sessions in docstrings, and then executes those sessions to verify that
105105they work exactly as shown.
106106
You can’t perform that action at this time.
0 commit comments