Skip to main content
https://img.shields.io/pypi/v/pytest-skippy.svg https://readthedocs.org/projects/pytest-skippy/badge/?version=latest https://travis-ci.org/a-feld/pytest-skippy.svg?branch=master https://ci.appveyor.com/api/projects/status/github/a-feld/pytest-skippy?svg=true https://codecov.io/gh/a-feld/pytest-skippy/branch/master/graph/badge.svg

pytest skippy

Automatically skip tests that don’t need to run!

Most tests that are run on a pull request don’t actually exercise the changes that are made. By running all tests (even if those tests are not relevant), the test suite takes longer to complete and more machines may be needed to parallelize tests to cut down on test time.

pytest-skippy detects which tests don’t need to run by generating a complete import graph for your tests. If nothing in the import graph has changed (according to GIT), the test is skipped! This approach saves time (getting you test results faster) and money (using less machines for parallel builds)!

Installation

pip install pytest-skippy

Usage

Add the --skippy option to your pytest command.

To specify a target branch, use the --skippy-target-branch option.

Example:

py.test --skippy --skippy-target-branch origin/master

Metadata

Release files for pytest-skippy 0.1.1

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

Source distribution (sdist)

Source distribution for pytest-skippy 0.1.1
File Size Uploaded Provenance
pytest-skippy-0.1.1.tar.gz 19.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-skippy 0.1.1
File Interpreter ABI Platform
pytest_skippy-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 32.6 kB

Release files / pytest-skippy-0.1.1.tar.gz

Download URL pytest-skippy-0.1.1.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
98e4a0355e9b6dde61758129b2b0243736d56bf1ac71aa350b80c83632baff20
BLAKE2b-256 checksum
How to use checksums
80ea59c5109eebfff31849d277fe35f6dbac181be56ad42d87262ca1dfc65650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL pytest_skippy-0.1.1-py2.py3-none-any.whl
Size 13.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
24eb41ea38266afead63ac7e64026aa911c60cdadace465439be487577166abb
BLAKE2b-256 checksum
How to use checksums
4820aa4b53611c231c4914cb0fb7c9a6da3c130c442b965e080cbbcbb1a9f8e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-skippy 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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