pytest-prefer-nested-dup-tests

A Pytest plugin to drop duplicated tests during collection, but will prefer keeping nested packages.


Keywords
pytest, pytest-plugin, python
License
MIT
Install
pip install pytest-prefer-nested-dup-tests==0.1.0

Documentation

pytest-prefer-nested-dup-tests

by Marximus Maximus (https://www.marximus.com)

Test Status PyPI Version Downloads

pre-commit Code style: black

A Pytest plugin to drop duplicated tests during collection, but will prefer keeping nested packages.

By default, when de-duplicating tests, all sub-packages become top level packages. This plugin keeps the subpackage structure intact.

Installation

You can install via pip from PyPI:

$ pip install pytest-prefer-nested-dup-tests

Usage

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

Contributing

Contributions are very welcome. Please see CONTRIBUTING.rst.

License

Distributed under the terms of the MIT license, "pytest-prefer-nested-dup-tests" is free and open source software.

License file is available atLICENSE in "plaintext" (ASCII (ASCII-7), Extended ASCII (ASCII-8), Latin-1, Windows-1252, and UTF-8 compatible format).

Issues

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

Changelog

Please see CHANGELOG.rst.

Like My Work & Want To Support It?