A Pytest plugin to drop duplicated tests during collection, but will prefer keeping nested packages.
Project description
by Marximus Maximus (https://www.marximus.com)
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?
Main Website: https://www.marximus.com
Patreon (On Going Support): https://www.patreon.com/marximus
Ko-fi (One Time Tip): https://ko-fi.com/marximusmaximus
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest-prefer-nested-dup-tests-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc60d3792b00b5871a21c4aacc50214279e59b41eba28c661d3daf690eb55f49 |
|
MD5 | b458073897ec6f141ba29e5850206ce9 |
|
BLAKE2b-256 | 3d4e9fdd322f65dbca66e43ca50a30b1398fbc5388116c88d7b68512d22d7912 |
Hashes for pytest_prefer_nested_dup_tests-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3945bbe9408eeda77b6e9c1f239d330bef6b5b0935c08d7fdc53629b7aed19 |
|
MD5 | 1bdf8adba3efabfe03efd1bf18b279a8 |
|
BLAKE2b-256 | 87c97209ddc024008e195449f0f26cbba7e4cb6d1a0debca12b424fef2572b0d |