Registry / testing / pact-foundation-pact-go

pact-foundation-pact-go

JSON →
library1.10.0gogounverified

Enables consumer-driven contract testing with mock service and provider verification for Go services.

go get github.com/pact-foundation/pact-go
INSTALL
IMPORT
SIG · PACT-FOUNDATION-PA
P
pact-foundation-pact-go
testinggov1.10.0
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
github.com/pact-foundation/pact-go

Sets up a Pact consumer contract test.

package main import ( "github.com/pact-foundation/pact-go/dsl" ) func main() { pact := &dsl.Pact{ Consumer: "MyConsumer", Provider: "MyProvider", } pact.Setup() defer pact.Teardown() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.10.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
pact-foundation-pact-go — go get pact-foundation-pact-go · libregistry