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
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skipper_pytest-0.1.0.tar.gz.
File metadata
- Download URL: skipper_pytest-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48006561b66a80b2c243777d78564b6cb7e777cf979d8a614bff14a5d0255b52
|
|
| MD5 |
873e11ceec81ae2bd46fe6912d3cb0ec
|
|
| BLAKE2b-256 |
bcb3a819a075ffe252cacc69a003816afc13220970e0e6c015b9219185336900
|
File details
Details for the file skipper_pytest-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skipper_pytest-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6a379cece4a3c2dc14ff080523d0c21686877e982e4eb25f258b72a21f4b7b
|
|
| MD5 |
dec4bab38844346295cd15bf9ee2b4c5
|
|
| BLAKE2b-256 |
f091a90303ad33a80b600085e018a8fb7435aaeeb65e394e8f1afb4dcf9a2abf
|