pytest-codeblocks
nbval
pytest-codeblocks | nbval | |
---|---|---|
1 | 1 | |
92 | 432 | |
- | 0.7% | |
5.4 | 6.1 | |
3 months ago | 2 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
pytest-codeblocks
-
pytest-codeblocks: Test snippets from your READMEs
If you have code blocks in your README, you can pytest them with pytest-codeblocks. pip install pytest-codeblocks pytest --codeblocks README.md I just added better config support for it, especially if you'd like to conditionally skip testing some of the blocks (skipif).
nbval
-
How to raise the quality of scientific Jupyter notebooks
nbval is a strong fit for developers who want to check that cells always render to the same value
What are some alternatives?
pytest-flask-sqlalchemy - A pytest plugin for preserving test isolation in Flask-SQLAlchemy using database transactions.
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)
nbmake - ๐ Pytest plugin for testing notebooks
pytest-langchain - โ Pytest-style test runner for langchain projects
python-testing - Exercises to learn best practice of writing tests in 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
pytest-inline - pytest-inline is a pytest plugin for writing inline tests.
rxwidgets - ReactiveX ipywidgets for complex iPython notebooks.
pytest - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
jupyter-book - Create beautiful, publication-quality books and documents from computational content.
testbook - ๐งช ๐ Unit test your Jupyter Notebooks the right way