AllenInstitute / visual_behavior_analysis

Python package for analyzing behavioral data for Brain Observatory: Visual Behavior
Other
21 stars 6 forks source link

pytest runner for Jupyter notebooks #525

Open nickponvert opened 5 years ago

nickponvert commented 5 years ago

It would be useful to have Jupyter notebooks run as part of pytest for several reasons:

In this example I actually changed the code in the notebook, which produced a change in the figure output. However, we could use this to test if there is a change in plotting output due to a change in any of the dependency code.

nickponvert commented 5 years ago

This exists: https://github.com/computationalmodelling/nbval

nickponvert commented 5 years ago

Also relevant: https://www.cityscience.com/blog/ci-for-jupyter.html

nickponvert commented 5 years ago

In the works from the same people as ReviewNB: https://github.com/ReviewNB/treon