Repository navigation
Conversation
Cucumber runner for the V1-V4 compatibility suite features except V4 plugins: HTTP consumer/provider, message consumer/provider, synchronous messages, generators and matching. Steps drive libpact_ffi from the pact-ffi gem through the calls a client library makes. Run with compatibility-suite/run-core.sh (needs PACT_COMPAT_SUITE). 188 scenarios pass; one known pact_ffi failure is skipped with its reason, and the suite's own @wip scenarios are excluded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Cucumber runner for the pact-compatibility-suite core features: everything in V1–V4 except
V4/plugins. The steps drivelibpact_ffifrom thepact-ffigem through the calls a client library makes, mirroring the pact-reference FFI runner.Results (local, macOS, Ruby 4.0)
189 scenarios: 188 passed, 1 skipped, 0 failed.
http_consumerhttp_provider, V3/V4message_providermessage_consumer, V4synchronous_message_consumer, V4v4http_matching, V3/V4matching_rulesgenerators, V3http_generators, V4generatorsNot run
KNOWN_FAILURESincore/support/env.rb): Supports a not empty matcher with binary data (negative case). The pact_ffi mock server reads a 0-byte request body as no body, so thenotEmptyrule never sees it. The pact-reference FFI runner lists the same scenario as a known failure.@wip: the V3 message provider Kafka schema registry scenario.Changes
compatibility-suite/core: support code (FFI bindings, model, recording HTTP server) and step definitions.compatibility-suite/run-core.shand README..github/workflows/compat-core.yml: runs the core features against the suite'smain. This has not run in CI yet.Gemfile:cucumberin acompatibility_suitegroup.🤖 Generated with Claude Code