The plugin adds functionality to py.test to recognise and collect Jupyter notebooks. The intended purpose of the tests is to determine whether execution of the stored inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the notebooks are running without errors. The tests were designed to ensure that Jupyter notebooks (especially those for reference and documentation), are executing consistently. Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail. Required for >=dev-python/notebook-5.2.1.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86fc237b0882e338f40a319c088f424904a73962 commit 86fc237b0882e338f40a319c088f424904a73962 Author: Marius Brehler <marbre@linux.sungazer.de> AuthorDate: 2017-11-20 10:24:36 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2017-11-30 14:46:17 +0000 dev-python/nbval: new package. nbval is a py.test plugin to validate Jupyter notebook. The plugin adds functionality to py.test to recognise and collect Jupyter notebooks. The intended purpose of the tests is to determine whether execution of the stored inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the notebooks are running without errors. The tests were designed to ensure that Jupyter notebooks (especially those for reference and documentation), are executing consistently. Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail. Closes: https://bugs.gentoo.org/638208 Closes: https://github.com/gentoo/gentoo/pull/6247 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-python/nbval/Manifest | 1 + dev-python/nbval/metadata.xml | 31 +++++++++++++++++++++++++++++++ dev-python/nbval/nbval-0.7.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+)