Skip to main content

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.

Release files for pytest-codeowners 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pytest-codeowners 0.1.1
File Interpreter ABI Platform
pytest_codeowners-0.1.1-py3.8.egg Legacy Egg format - - Details
pytest_codeowners-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.3 kB

Release files / pytest_codeowners-0.1.1-py3.8.egg

Download URL pytest_codeowners-0.1.1-py3.8.egg
Size 4.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
97fad2580184a8637cf16fb1a0a5a8119b34f1b78402e6408d2b0063630b47d1
BLAKE2b-256 checksum
How to use checksums
7352984a82ec3bcee76bb44487a23d97ec608ee0f95a91e935e10f6240e16e3e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytest_codeowners-0.1.1-py2.py3-none-any.whl

Download URL pytest_codeowners-0.1.1-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
11c27e27f8f52ae9814ba365723719ad699051e9fa9c665ee2cad9dc20b9767e
BLAKE2b-256 checksum
How to use checksums
02da9ce2e8f3bf26890faeb5f281841244d6b5178374f424ee0e0d606a6fc157
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page