pytest-cov
Coverage plugin for pytest. (by pytest-dev)
pytest-watch
Local continuous test runner with pytest and watchdog. (by joeyespo)
pytest-cov | pytest-watch | |
---|---|---|
2 | 3 | |
1,660 | 723 | |
0.6% | - | |
7.2 | 0.0 | |
29 days ago | almost 2 years ago | |
Python | Python | |
MIT License | MIT 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:
pytest-watch
Posts with mentions or reviews of pytest-watch.
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
What if you are working on a particular file/function, and want to run a single test over and over again while you fix a bug? There is a zero-config CLI tool that runs pytest, and re-runs it when a file in your project changes. It beeps on failures and can run arbitrary commands on each passing and failing test run. You can install it using the following command.
-
How I Set Up Testing for My Python Project
pytest-watch is a zero-config CLI tool that runs pytest, and re-runs it when a file in your project changes
-
A simple pytest watcher for quicker development
After quick googling I found pytest-watch utility which should solve exactly this problem. I installed this package and tried to use it in my project. But unfortunately it wouldn't run due to config parsing error (pyproject.toml). The config file itself seemed to be valid because I can run pytest and other tools without issues. I explored repository page on github and found that the last commit is dated 2019. There were also open issues without any replies from maintainers so it seems that this project is not maintained.
What are some alternatives?
When comparing pytest-cov and pytest-watch you can also consider the following projects:
testbook - ๐งช ๐ Unit test your Jupyter Notebooks the right way
pytest-watcher - Automatically rerun your tests on file modifications
SeleniumBase - ๐ Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
silkie - Static site generator with the smoothness of silk
pytest-mongodb - pytest plugin for mocking MongoDB with fixtures
dirty-equals - Doing dirty (but extremely useful) things with equals.
pytest-django - A Django plugin for pytest.
pytest-vulture - Vulture dead code finder plugin for Pytest