Skip to main content

pytest plugin for Skipper test-gating via Google Spreadsheet

Project description

skipper-pytest

pytest plugin for Skipper test-gating via Google Spreadsheet.

Tests are automatically skipped when their disabledUntil date is in the future — no changes to test code required.

Installation

pip install skipper-pytest

Setup

Add to tests/conftest.py:

from skipper_pytest import configure_skipper
from skipper_core import SkipperConfig, FileCredentials

configure_skipper(SkipperConfig(
    spreadsheet_id="YOUR_SPREADSHEET_ID",
    credentials=FileCredentials("./service-account-skipper-bot.json"),
    sheet_name="skipper-python",
))

Or configure entirely via environment variables:

SKIPPER_SPREADSHEET_ID=... \
SKIPPER_CREDENTIALS_FILE=./service-account-skipper-bot.json \
SKIPPER_SHEET_NAME=skipper-python \
pytest

Test ID Format

tests/test_auth.py > ClassName > test_method_name

Sync Mode

Set SKIPPER_MODE=sync to have Skipper reconcile the spreadsheet after the test run (adds new test IDs, removes stale ones).

See the root README for full documentation.

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

skipper_pytest-1.2.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skipper_pytest-1.2.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file skipper_pytest-1.2.0.tar.gz.

File metadata

  • Download URL: skipper_pytest-1.2.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_pytest-1.2.0.tar.gz
Algorithm Hash digest
SHA256 91a02ed98a2a9ef76f0fd4fccc51806d4d92257a05be293b3a1dfde40cb4f48a
MD5 f58c3283797282ede4a67677d25070c8
BLAKE2b-256 bceafe9bf7fb4718eded6df86573690db0c4464f00049bd38b98306a70ae4d5c

See more details on using hashes here.

File details

Details for the file skipper_pytest-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: skipper_pytest-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_pytest-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97f624c489e24f8fa720aad893ab9f0931d94d0189b1c284b8e116e98019a2c6
MD5 2f1b0884388ee08c7d0123a54eca7e58
BLAKE2b-256 c6fcd7b80727db1a0cdbc1e246b445211af707a613d2e0fecb0092b787b179a5

See more details on using hashes here.

Supported by

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