Versions in this module Expand all Collapse all v2 v2.2.0 Feb 28, 2024 v2.1.8 Dec 7, 2023 v2.1.7 May 5, 2023 v2.1.6 Oct 17, 2022 v2.1.5 Aug 12, 2022 Changes in this version + func RunIntegrationTest(t *testing.T, pactFilePaths []Pact, testFunc func(), ...) v2.1.4 May 26, 2022 v2.1.3 May 19, 2022 v2.1.2 Feb 9, 2022 v2.1.1 Dec 8, 2021 v2.1.0 Dec 6, 2021 v2.0.1 Nov 19, 2021 v2.0.0 Jul 22, 2021 Changes in this version + func AddPact(filename string) error + func AddPactInteraction(provider, consumer string, interaction *dsl.Interaction) error + func EnsurePactRunning(provider, consumer string) string + func IntegrationTest(pactFilePaths []Pact, testFunc func(), retryOptions ...retry.Option) + func PreassignPorts(pactFilePaths []Pact) + func ResetPacts() + func SplitPactBulkFile(bulkFilePath string, outputDirPath string, ...) error + func StopMockServers() + func TestWithStubServices(pactFilePaths []Pact, testFunc func()) + func VerifyAll() error + func VerifyInteractions(provider, consumer string, retryOptions ...retry.Option) error + func VerifyMessageProviderRaw(params PactProviderTestParams, request dsl.VerifyMessageRequest) ([]types.ProviderVerifierResponse, error) + func VerifyProviderMessagingPacts(params PactProviderTestParams, messageProducers dsl.MessageHandlers) + func VerifyProviderPacts(params PactProviderTestParams) + type MockServer struct + BaseURL string + Consumer string + Pid int + Port int + Provider string + Running bool + func (m *MockServer) AddInteraction(interaction interface{}) error + func (m *MockServer) DeleteInteractions() error + func (m *MockServer) Stop() error + func (m *MockServer) Verify() error + type Pact = string + type PactFile struct + Consumer struct{ ... } + Interactions []struct{ ... } + Metadata interface{} + Provider struct{ ... } + func NewPactFile(data []byte) (*PactFile, error) + func (f *PactFile) Split() *[]*PactFile + type PactProviderTestParams struct + AuthToken string + BaseURL string + Pacts string + ProviderStateSetupURL string + Testing *testing.T + type PactRequestMatchingFilter = func(map[string]interface{}) Other modules containing this package github.com/form3tech-oss/go-pact-testing