A pytest plugint that finds changed tests and runs only those.
Passing the --changed
flag to your pytest run, you will not only select changed files but also identify the functions that have been changed.
You can install "pytest-changed" via pip from PyPI:
$ pip install pytest-changed
You just have to invoke pytest and pass the --changed
flag to it:
$ pytest --changed
- TODO
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the `Mozilla Public License 2.0`_ license, "pytest-changed" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.
This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.