Skip to content

A pytest plugin that finds changed test files and selects only functions that are affected for the test run.

License

Notifications You must be signed in to change notification settings

gastrofix-gmbh/pytest-changed

Repository files navigation

pytest-changed

PyPI version Python versions See Build Status on Travis CI See Build Status on AppVeyor

A pytest plugint that finds changed tests and runs only those.

Features

Passing the --changed flag to your pytest run, you will not only select changed files but also identify the functions that have been changed.

Installation

You can install "pytest-changed" via pip from PyPI:

$ pip install pytest-changed

Usage

You just have to invoke pytest and pass the --changed flag to it:

$ pytest --changed

Requirements

  • TODO

Contributing

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.

License

Distributed under the terms of the `Mozilla Public License 2.0`_ license, "pytest-changed" is free and open source software

Issues

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.

About

A pytest plugin that finds changed test files and selects only functions that are affected for the test run.

Resources

License

Stars

Watchers

Forks

Packages

No packages published