Closed MicahGale closed 2 weeks ago
Using doctest, sphinx-doctest, and papermill to run these tests.
TODO: figure out what to do with code-block
phmutest README.md --replmode --log
https://stackoverflow.com/a/76924724
I'm thinking we should override the changelog test.
Description
This implemented testing of (almost) all example code blocks. This includes:
README.md
doc/source/*.rst
demo/*.ipynb
This also fixed all bugs found. The only code that wasn't tested is ones where the output are multiline statements. This is too complicated to work with
sphinx-doctest
.Fixes #575, fixes #571
Checklist