testbook
testbook copied to clipboard
Code coverage for notebooks
Along with unit-testing, we should provide a way to compute code coverage for Jupyter Notebooks.
This is likely to be another project in itself.
@MSeal suggests using trace.
Looking at the coverage library and how it interacts inside a kernel it appears we'll need to generate the line coverage report somewhat manually. Still looking into the source code of coverage to determine what we might be able to reuse and what we need to feed into the report by other analysis
Do we have any alternative in this regard?