Registry / testing / pact
library1.67.3rbrubygemsunverified

Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

gem install pact
INSTALL
IMPORT
SIG · PACT
P
pact
testingrubyv1.67.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pact
✓ require 'pact'

Define a consumer contract with a mock service

require 'pact' Pact.service_consumer 'My Consumer' do has_pact_with 'My Provider' do mock_service :my_provider do port 1234 end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.67.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Anthropic
1
Resources
pact — gem install pact · libregistry