DiODeProject / DiODeProject/MuMoT
Use nbval to perform regression testing on MuMoTtest.ipynb
- Dominant language
- Python
- Stars
- 24
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
There is already a commented-out command in `tox.ini` for this:
```sh
# Ensure the user manual and regression test Notebooks do not show regressions (do not enable yet)
#pytest --nbval --nbdime TestNotebooks/MuMoTtest.ipynb
```
nbval includes some functionality for selectively comparing saved and computed output for cells (see [the nbval docs for more info](http://nbviewer.jupyter.org/github/computationalmodelling/nbval/blob/master/docs/source/index.ipynb)) but this may or may not be sufficient for performing meaningful regression testing on `MuMoTtest.ipynb` given that:
1. a large proportion of the outputs in `MuMoTtest.ipynb` are graphical
2. nbval does not run Notebooks in a browser so anything requiring Javascript (e.g. ipywidgets) won't work.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.