ouseful-PR / nbval

A py.test plugin to validate Jupyter notebooks
Other
0 stars 0 forks source link

Add support to compare number of lines in output #2

Open psychemedia opened 3 years ago

psychemedia commented 3 years ago

If we have a cell that generates an output with a particular number of lines (for example, a loop that prints one line per iteration), but the actual line outputs differ, we should be able to compare the line count from the original test notebook against the line count generated by running the notebook again.

psychemedia commented 2 years ago

The nbval-test-linecount tag is supposed to do this for print output, but it doesn't appear to work?