testbook icon indicating copy to clipboard operation
testbook copied to clipboard

Code coverage for notebooks

Open rohitsanj opened this issue 5 years ago โ€ข 2 comments

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.

rohitsanj avatar Mar 26 '20 04:03 rohitsanj

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

MSeal avatar Aug 20 '20 16:08 MSeal

Do we have any alternative in this regard?

brunolnetto avatar May 15 '23 22:05 brunolnetto