pytest-cov
Coverage plugin for pytest. (by pytest-dev)
testbook
๐งช ๐ Unit test your Jupyter Notebooks the right way (by nteract)
pytest-cov | testbook | |
---|---|---|
2 | 2 | |
1,660 | 399 | |
0.6% | 0.0% | |
7.2 | 0.0 | |
29 days ago | about 1 year ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
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-cov
Posts with mentions or reviews of pytest-cov.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-13.
-
Lab8 Manage project complexity through the use of Automated Testing
How to install Pytest-cov
-
How I Set Up Testing for My Python Project
pytest-cov is a pytest's plugin that produces coverage reports. If you want to see how much your tests have covered your codebase, you can install this tool by running this command:
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
testbook is maintained by the nteract community, and is good for testing functions written inside notebooks
-
Unit testing Python code in Jupyter notebooks
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.
What are some alternatives?
When comparing pytest-cov and testbook you can also consider the following projects:
SeleniumBase - ๐ Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
best-of-python-dev - ๐ A ranked list of awesome python developer tools and libraries. Updated weekly.