Understanding which parts of your code is exercised by tests via code coverage can be essential.
Therefore, I am happy that ipytest
supports coverage inside notebooks starting with release 0.14.1.
This release includes ipytest.cov
, a Coverage.py plugin, that also allows to use pytest-cov
in notebooks.
In this blog post I would like to describe the underlying issue and how ipytest
solves it.
Read more