Skip to content

test: automated notebook testing #738

Closed
1 of 1 issue completed
Closed

Description

@planetf1

Context

Part of the Testing Infrastructure & Strategy Overhaul epic (item 9).

Objective

Evaluate and implement automated notebook testing to catch rot. nbmake is already installed but unused.

Work

  • Evaluate nbmake for automated notebook testing (add automated testing for jupyter notebooks #89)
  • Implement notebook execution tests — ensure notebooks execute cleanly
  • Ensure notebooks are excluded from code coverage metrics
  • Define which notebooks should run in CI vs. nightlies (based on backend requirements)
  • Update contributor documentation on notebook testing

Notes

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    p2
    on Jun 18, 2026
  2. planetf1 commented on Oct 5, 2026

    @planetf1
    ContributorAuthor

    Fixed — automated notebook testing is in main.

    All five work items are addressed, verified against upstream/main (2026-10-05):

    • Evaluate nbmake (add automated testing for jupyter notebooks #89): chosen and pinned — nbmake in pyproject.toml:142-144, poe nbtest task at :254-255
    • Execution tests: .github/workflows/notebooks.yml (PR test: add job for testing notebooks #1649, merged as 51df46ac8) runs the example notebooks on PR via nbmake
    • Coverage exclusion: notebooks are excluded from coverage metrics
    • CI vs nightlies: notebooks run in PR CI; backend-dependent gating rides the existing test-marker system rather than a separate notebook schedule
    • Contributor docs: test/README.md documents the workflow

    The Colab-side option from #89 was the "otherwise" fallback; the nbmake/CI route is the one that landed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions