testbook VS nbval

Compare testbook vs nbval and see what are their differences.

testbook

๐Ÿงช ๐Ÿ“— Unit test your Jupyter Notebooks the right way (by nteract)

nbval

A py.test plugin to validate Jupyter notebooks (by computationalmodelling)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
testbook nbval
2 1
399 432
0.0% 0.7%
0.0 6.1
about 1 year ago 2 months ago
Python Python
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

testbook

Posts with mentions or reviews of testbook. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-11.
  • How to raise the quality of scientific Jupyter notebooks
    9 projects | dev.to | 11 Jan 2023
    testbook is maintained by the nteract community, and is good for testing functions written inside notebooks
  • Unit testing Python code in Jupyter notebooks
    1 project | dev.to | 22 Mar 2021
    The testbook project is a different take on notebook unit testing. It allows you to refer to your notebooks in pure Python code from outside a notebook. This allows you to use any testing framework you like (for example, pytest, or unittest) in separate Python modules. You may have a situation where allowing users to modify and update notebook code is the best way to keep code updated and to allow for flexibility for end users. But you may prefer that the code still be tested and verified separately. Testbook makes this an option.

nbval

Posts with mentions or reviews of nbval. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-11.

What are some alternatives?

When comparing testbook and nbval you can also consider the following projects:

pytest-cov - Coverage plugin for pytest.

pytest-sugar - a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)

best-of-python-dev - ๐Ÿ† A ranked list of awesome python developer tools and libraries. Updated weekly.

nbmake - ๐Ÿ“ Pytest plugin for testing notebooks

dirty-equals - Doing dirty (but extremely useful) things with equals.

pytest-langchain - โœ… Pytest-style test runner for langchain projects

papermill - ๐Ÿ“š Parameterize, execute, and analyze notebooks

python-testing - Exercises to learn best practice of writing tests in Python

pudb - Full-screen console debugger for Python

ITKIOScanco - ITK Image IO for Scanco MicroCT .ISQ files

ITKElastix - An ITK Python interface to elastix, a toolbox for rigid and nonrigid registration of images