pytest-drop-dup-tests 1.0.0

Creator: railscoder56

Last updated:

Add to Cart

Description:

pytestdropduptests 1.0.0

A Pytest plugin to drop duplicated tests during collection.
Pytest by default will collect all tests from directories or files given
in the command-line. For example, if you execute:
py.test tests/unit tests/
Tests from tests/unit will appear twice, because they will be collected
again when pytest sees the tests directory in the command-line.
This plugin is intended for the cases where the user wants to run all tests
from tests/unit first and then the rest of the tests under tests,
without duplicates.
This plugin was born from the discussion taken in #1187.

This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Installation
You can install via pip from PyPI:
$ pip install pytest-drop-dup-tests


Usage
The plugin is enabled by default, no other action is necessary.


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 MIT license, “pytest-drop-dup-tests” is free and open source software


Issues
If you encounter any problems, please file an issue along with a detailed description.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.