@@ -90,7 +90,7 @@ Getting started is easy:
90
90
91
91
.. tab :: unittest
92
92
93
- Change " python" to "coverage run", so this::
93
+ Change your python command name to "coverage run", so this::
94
94
95
95
$ python3 -m unittest discover
96
96
@@ -134,20 +134,21 @@ Getting started is easy:
134
134
listings detailing missed lines::
135
135
136
136
$ coverage html
137
+ Wrote HTML report to htmlcov/index.html
137
138
138
139
.. ifconfig :: not prerelease
139
140
140
- Then open htmlcov/index.html in your browser, to see a
141
- `report like this `_ .
141
+ Then open ` htmlcov/index.html < htmlreport _>`__ in your browser
142
+ to see a `report like this < htmlreport _>`__ .
142
143
143
144
.. ifconfig :: prerelease
144
145
145
- Then open htmlcov/index.html in your browser, to see a
146
- `report like this one `_ .
146
+ Then open ` htmlcov/index.html < betahtmlreport _>`__ in your browser
147
+ to see a `report like this < betahtmlreport _>`__ .
147
148
148
149
149
- .. _ report like this : https://nedbatchelder.com/files/sample_coverage_html/index.html
150
- .. _ report like this one : https://nedbatchelder.com/files/sample_coverage_html_beta/index.html
150
+ .. _ htmlreport : https://nedbatchelder.com/files/sample_coverage_html/index.html
151
+ .. _ betahtmlreport : https://nedbatchelder.com/files/sample_coverage_html_beta/index.html
151
152
.. _nose state : https://github.com/nose-devs/nose/commit/0f40fa995384afad77e191636c89eb7d5b8870ca
152
153
.. _include tests : https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html
153
154
0 commit comments