Pytest plugin for selecting tests by GitHub CODEOWNERS.
Project description
pytest-codeowners
Pytest plugin for selecting tests by GitHub CODEOWNERS.
Quickstart
Install with:
pip install pytest-codeowners
Usage
Like so:
pytest --codeowners-file docs/CODEOWNERS \
--codeowners-owner @org/team-name \
--codeowners-owner my@email.com \
--codeowners-owner @MyUsername
Building
To build this library as a wheel:
python setup.py bdist_wheel --universal
Testing
First, make sure you install the package:
python setup.py install
To run all tests, simply do:
pytest
Legal
Copyright 2022 IRESS Ltd.
License: Apache License 2.0.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file pytest_codeowners-0.1.1-py3.8.egg
.
File metadata
- Download URL: pytest_codeowners-0.1.1-py3.8.egg
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fad2580184a8637cf16fb1a0a5a8119b34f1b78402e6408d2b0063630b47d1 |
|
MD5 | eaa26acef41c4fa82e11c86dc3931fa3 |
|
BLAKE2b-256 | 7352984a82ec3bcee76bb44487a23d97ec608ee0f95a91e935e10f6240e16e3e |
File details
Details for the file pytest_codeowners-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_codeowners-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c27e27f8f52ae9814ba365723719ad699051e9fa9c665ee2cad9dc20b9767e |
|
MD5 | 0db65ccbf94de10874be8150b4b549ed |
|
BLAKE2b-256 | 02da9ce2e8f3bf26890faeb5f281841244d6b5178374f424ee0e0d606a6fc157 |