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
File details
Details for the file pytest-prefer-nested-dup-tests-0.1.0.tar.gz
.
File metadata
- Download URL: pytest-prefer-nested-dup-tests-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc60d3792b00b5871a21c4aacc50214279e59b41eba28c661d3daf690eb55f49 |
|
MD5 | b458073897ec6f141ba29e5850206ce9 |
|
BLAKE2b-256 | 3d4e9fdd322f65dbca66e43ca50a30b1398fbc5388116c88d7b68512d22d7912 |
File details
Details for the file pytest_prefer_nested_dup_tests-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pytest_prefer_nested_dup_tests-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3945bbe9408eeda77b6e9c1f239d330bef6b5b0935c08d7fdc53629b7aed19 |
|
MD5 | 1bdf8adba3efabfe03efd1bf18b279a8 |
|
BLAKE2b-256 | 87c97209ddc024008e195449f0f26cbba7e4cb6d1a0debca12b424fef2572b0d |