nbval icon indicating copy to clipboard operation
nbval copied to clipboard

A py.test plugin to validate Jupyter notebooks

Results 62 nbval issues
Sort by recently updated
recently updated
newest added

Hello, version 0.9.6 of your neat tool does not include the work on specifying kernel names etc. I wonder whether you could release the current state of your tool on...

Hi all, I noticed the cell numbers reported by nbval are off by one from what you see in a jupyter notebook. Jupyter notebooks measure cell execution starting from 1,...

I have an ongoing [PR](https://github.com/jerry-git/pytest-split/pull/10) on the `pytest-split` repo (a plugin for distributing unit tests) which adds better support for `nbval`. It basically ensures that all the cells within an...

Would it be possible to support treating entire files as a single test, rather than individual cells? We have a decent amount of documentation in the form of notebooks that...

Similar to #155, a new warning message of matplotlib results in a test failure: ``` [ 43s] =================================== FAILURES =================================== [ 43s] _ test_print[/home/abuild/rpmbuild/BUILD/nbval-0.9.6/tests/ipynb-test-samples/test-latex-pass-correctouput.ipynb] _ [ 43s] [ 43s] filename...

Currently, cells are named as `'Cell %d' % cell_num`. This makes it hard to trace errors in case you have hundreds of cells. Could the cells be possibly named? Either...

### Steps to reproduce: 1. Clone `uarray`: https://github.com/Quansight-Labs/uarray 2. Create a conda env from `.conda/environment.yml` 3. Install `nbval` 3. Comment out the `addopts` line in `pytest.ini` 4. Run `pytest --cov...

I have a suite of example notebooks that I wish to use as tests. Many use a python package to connect to a server, but when testing the syntax for...

It would be great if there were some way to make output comparison of a cell conditional, like how in a regular test one can write: ```python @pytest.mark.skipif(sys.version_info < (3,...

These 2 lines ```python from pytelescope import basetypes as bt from astropy import units as u ``` import without errors in the notebook, but running nbval like so: ```bash pytest...