Skip to main content

unittest integration for Skipper test-gating via Google Spreadsheet

Project description

skipper-unittest

unittest integration for Skipper test-gating via Google Spreadsheet.

Installation

pip install skipper-unittest

Setup

from skipper_unittest import SkipperTestCase
from skipper_core import SkipperConfig, FileCredentials

class AuthTests(SkipperTestCase):
    skipper_config = SkipperConfig(
        spreadsheet_id="YOUR_SPREADSHEET_ID",
        credentials=FileCredentials("./service-account-skipper-bot.json"),
        sheet_name="skipper-python",
    )

    def test_login(self):
        ...  # auto-skipped when disabled in the spreadsheet

Test ID Format

tests/test_auth.py > ClassName > test_method_name

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_unittest-1.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

skipper_unittest-1.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skipper_unittest-1.2.0.tar.gz
  • Upload date:
  • Size: 2.8 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_unittest-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8a492ead091a8b1f0351e579db9d7b4abe1f081448dbb2601e938ded34d338b4
MD5 977c98a3df17edb484c8a68fddf4c2ce
BLAKE2b-256 060c99fd28d0c5c79602f18170df413aa359c524dd3ab5b6d113eb426231d75b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skipper_unittest-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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_unittest-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86470b89ad23a3a92985a54e40e42778b188f23f06d6bfd34ce3d075b3cbe3ce
MD5 7f1de9b983f726bcd7fcc275323e5774
BLAKE2b-256 18766c527ec8e83807ee9860fb57fc17f5a27d60e01f70d6d3bf1259f30e1000

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