@@ -171,22 +171,22 @@ Both statement and branch coverage are being tracked using [coverage](https://gi
171171```
172172Run unit tests...........................................................Passed
173173- hook id: pytest
174- - duration: 1.74s
174+ - duration: 0.76s
175175
176176============================= test session starts ==============================
177- platform darwin -- Python 3.13.0 , pytest-8.3.3 , pluggy-1.5.0 -- /path/to/python-package-template/.venv/bin/python
177+ platform darwin -- Python 3.13.1 , pytest-8.3.4 , pluggy-1.5.0 -- /path/to/python-package-template/.venv/bin/python
178178cachedir: .pytest_cache
179179hypothesis profile 'default-with-verbose-verbosity' -> max_examples=500, verbosity=Verbosity.verbose, database=DirectoryBasedExampleDatabase(PosixPath('/path/to/python-package-template/.hypothesis/examples'))
180180rootdir: /path/to/python-package-template
181181configfile: pyproject.toml
182- plugins: cov-5 .0.0, hypothesis-6.111.2 , env-1.1.3 , custom-exit-code-0.3.0, doctestplus-1.2.1
182+ plugins: cov-6 .0.0, hypothesis-6.122.7 , env-1.1.5 , custom-exit-code-0.3.0, doctestplus-1.3.0
183183collected 3 items
184184
185185src/package/something.py::package.something.Something.do_something PASSED [ 33%]
186186tests/test_something.py::test_something PASSED [ 66%]
187187docs/source/index.rst::index.rst PASSED [100%]
188188
189- ---------- coverage: platform darwin, python 3.13.0 -final-0 ----------
189+ ---------- coverage: platform darwin, python 3.13.1 -final-0 ----------
190190Name Stmts Miss Branch BrPart Cover Missing
191191----------------------------------------------------------------------
192192src/package/__init__.py 1 0 0 0 100%
@@ -206,7 +206,17 @@ tests/test_something.py::test_something:
206206 - Stopped because nothing left to do
207207
208208
209- ============================== 3 passed in 0.08s ===============================
209+ ============================== slowest durations ===============================
210+ 0.01s call tests/test_something.py::test_something
211+ 0.00s call src/package/something.py::package.something.Something.do_something
212+ 0.00s setup src/package/something.py::package.something.Something.do_something
213+ 0.00s call docs/source/index.rst::index.rst
214+ 0.00s teardown src/package/something.py::package.something.Something.do_something
215+ 0.00s setup docs/source/index.rst::index.rst
216+ 0.00s teardown docs/source/index.rst::index.rst
217+ 0.00s setup tests/test_something.py::test_something
218+ 0.00s teardown tests/test_something.py::test_something
219+ ============================== 3 passed in 0.09s ===============================
210220```
211221Note that code that’s not covered by tests is listed under the ` Missing ` column, and branches not taken too. The net effect of enforcing 100% code and branch coverage is that every new major and minor feature, every code change, and every fix are being tested (keeping in mind that high _ coverage_ does not imply comprehensive, meaningful _ test data_ ).
212222
0 commit comments