Get the latest tech news

Jupyter Notebooks as E2E Tests


Jupyter notebooks as e2e tests | exotext

At work, we develop and maintain plenty of such libraries for quantum computing, and some more higher-level ones include extensive user guides in form of Jupyter notebooks. Recently, I've been involved in building a new library, and it ended up containing a half dozen notebooks, covering everything from a quick start guide to niche applications and configuration examples. However, a failure of execution will not propogate up, the resulting notebook would just contain cells with error output, and jq would parse them successfully, rendering the whole run unsuited for continous integration.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Jupyter Notebooks

Jupyter Notebooks

Photo of E2E Tests

E2E Tests

Related news:

News photo

Bento: Jupyter Notebooks at Meta

News photo

Papermill: Parameterizing, executing, and analyzing Jupyter Notebooks

News photo

How we made Jupyter notebooks load faster