Skip to main content

Cucumber logo
Cucumber Compatibility Kit

Test data for validating compatibility of a Cucumber implementation

npm build backers sponsors build

The CCK (Cucumber Compatibility Kit) is a set of features and messages. It aims to validate an implementation of the Cucumber Messages protocol.

Overview

This kit (package) consists of a set of features, miscellaneous files, and messages:

  • Each area will contain one feature, which, once executed, will emit an exhaustive set of messages as specified by the protocol.
  • Some of these areas may "also" require miscellaneous files to be used when testing functions such as attaching images or documents or reading data from files.
  • Each area will contain a set of messages - serialised as a single .ndjson file.

This is the reference for the CCK: a given feature from the kit, when executed using any dedicated step definitions, must emit the exact corresponding messages.

Installation and Usage

Available as cucumber-compatibility-kit on PyPI.

pip install cucumber-compatibility-kit

The compatibility kit packages gherkin files within a features/ directory, that can be accessed over a Python interface.

>>> from cucumber_compatibility_kit import CompatibilityKit
>>> cck = CompatibilityKit()

# Access all samples paths containing feature files
>>> cck.gherkin()
[Path('/path/to/features/ambiguous'), ..., Path('/path/to/features/unused-steps')]

# Access the samples path for a feature code
>>> cck.feature_code_for("ambiguous")
Path('/path/to/features/ambiguous')

# Directory contains a feature file
>>> from pathlib import Path
>>> cck.(Path('/path/to/features/ambiguous'))
True

More detailed documentation will be defined (#193).

More Info

The Cucumber Compatibility Kit is part of the development tools of Cucumber. It helps ensure that all implementations are properly supporting our internal protocol and are compatible (and consistent) with each other and our common tools like the html-formatter.

It can be a valuable tool if you are developing integration with Cucumber or your own implementation of it.

Join us on github/cucumber/compatibility-kit for more help if needed.

You can also take a look at cucumber-ruby to see how the kit is used in Ruby.

Development

Before building this project locally, the samples must be copied from the devkit.

cd ../devkit
npm ci && npm run copy-to:python
cd ../python

Metadata

Release files for cucumber-compatibility-kit 31.0.2

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

Source distribution (sdist)

Source distribution for cucumber-compatibility-kit 31.0.2
File Size Uploaded Provenance Actions
cucumber_compatibility_kit-31.0.2.tar.gz 87.4 kB Without provenance Details for cucumber_compatibility_kit-31.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cucumber-compatibility-kit 31.0.2
File Interpreter ABI Platform Actions
cucumber_compatibility_kit-31.0.2-py3-none-any.whl Python 3 none any Details for cucumber_compatibility_kit-31.0.2-py3-none-any.whl

Total release size: 251.0 kB

Release files / cucumber_compatibility_kit-31.0.2.tar.gz

Download URL cucumber_compatibility_kit-31.0.2.tar.gz
Size 87.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e89b70be45d23b2ee0732f3e1a7a490606f1f88252c0928e61d52ef4fdc3a0ad
BLAKE2b-256 checksum
How to use checksums
b9d2d54f4a6d107d9cb036922d4db7667585ab546b3d6b73782f02abe728a36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cucumber_compatibility_kit-31.0.2-py3-none-any.whl

Download URL cucumber_compatibility_kit-31.0.2-py3-none-any.whl
Size 163.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
552c7604057095e2b810ec27deeb0a87f34bbc0004ce089f1c2d9f2379665573
BLAKE2b-256 checksum
How to use checksums
c56cf6571e12bcd87b7cbe4cc4c725bf1e286992894aad3fc18bea394dcea26b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cucumber-compatibility-kit 31.0.2

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.

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