Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

510 B
Raw Blame

Testing notebooks

Because marimo notebooks are stored as Python, test them like any other Python program.

Guide Description
pytest Include unit tests in notebooks, or implement entire tests as notebooks
doctest Test code snippets in docstrings using doctest