Skip to content

Commit

Permalink
docs: clarify how the verification runs if both PactURLs and BrokerUR…
Browse files Browse the repository at this point in the history
…L are provided
  • Loading branch information
mefellows committed Jun 16, 2021
1 parent ae1d9cd commit 2c7a939
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion types/verify_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,20 @@ import (
// Hook functions are used to tap into the lifecycle of a Consumer or Provider test
type Hook func() error

// VerifyRequest contains the verification params.
// VerifyRequest configures the pact verification process.
//
type VerifyRequest struct {
// URL to hit during provider verification.
ProviderBaseURL string

// Local/HTTP paths to Pact files.
// NOTE: if specified alongside BrokerURL it will run the verification once for
// each dynamic pact (Broker) discovered and user specified (URL) pact.
PactURLs []string

// Pact Broker URL for broker-based verification
// NOTE: if specified alongside PactURLs it will run the verification once for
// each dynamic pact (Broker) discovered and user specified (URL) pact.
BrokerURL string

// Selectors are the way we specify which pacticipants and
Expand Down

0 comments on commit 2c7a939

Please sign in to comment.