BSD Ports

wip/py-test-nbval 0.9.6 NetBSD

Py.test plugin to validate Jupyter notebooks

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Categories
wip, devel, python

Description

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.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/py-test-nbval && make install clean

Dependencies

Run dependencies 6
Required by 1