Skip to main content

Automatically skip tests that don't need to run!

Project description

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)!


pip install pytest-skippy


Add the --skippy option to your pytest command.

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


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-skippy-0.1.1.tar.gz (19.5 kB view hashes)

Uploaded Source

Built Distribution

pytest_skippy-0.1.1-py2.py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page