From 2c7a9394ae0916d3c56a01493518e051d5ea3a39 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Wed, 16 Jun 2021 11:16:31 +1000 Subject: [PATCH] docs: clarify how the verification runs if both PactURLs and BrokerURL are provided --- types/verify_request.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/verify_request.go b/types/verify_request.go index 32845ceb5..135de7e74 100644 --- a/types/verify_request.go +++ b/types/verify_request.go @@ -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