The purpose of the plugin is to ensure that changes to the python environment (e.g. updating packages), have not affected the outputs of the notebook. If the notebook has changed, this plugin can also regenerate the notebooks, saving the new outputs.
Recognise, collect, execute then diff input vs. output Jupyter Notebooks.
Provides clear and colorized diffs of the notebooks (using nbdime)
Regenerate failing notebooks (see Regenerating Notebooks).
A well defined API allows notebook regression tests to be run in multiple ways (see pytest-notebook by example):
Using the pytest test collection architecture.
As a pytest fixtures.
All stages are highly configurable (see Configuring pytest-notebook) via:
The pytest command-line interface.
The pytest configuration file.
The notebook and cell level metadata.
Distributed under the terms of the
pytest-notebook is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.