Skip to main content

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

Project description

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 at LICENSE 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?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-prefer-nested-dup-tests-0.1.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page