Unit tests for functions in a Jupyter notebook?

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ploomber

    The fastest ⚡️ way to build data pipelines. Develop iteratively, deploy anywhere. ☁️

  • It's great you're trying to run tests on top of the notebook, we wrote a whole series about testing for ML, here's the first chapter. Ploomber actually allows you to run the tests as functions on-finish of a notebook/script, so it's similar to a CI essentially. I would focus more on the code/cells themselves and less on the outputs since those as you said, aren't static. I'd also keep the tests as a separate module.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts