Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It seems weird that notebooks don't have built-in unit testing. All you'd have to do is compare the current output to the saved "known good" output and show the diffs. It could be a checkbox next to each item in the notebook.


nbval does something similar to what you want.

https://github.com/computationalmodelling/nbval




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: