Zeus
01/06/2023, 8:26 AMexec: "pact-provider-verifier": executable file not found in $PATH
Do I need to run pactfoundation/pact-cli:latest
as part of my application container before running the pact test?Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Zeus
01/06/2023, 12:19 PMYousaf Nabi (pactflow.io)
Matt (pactflow.io / pact-js / pact-go)
pact
folder)
• We also add that pact
folder to the PATH
environment variable during the build so that it is available to the runtime: https://github.com/pact-foundation/pact-go/blob/master/make/config.mk#L1
If you’re using 2.x.x, you don’t need to install these for the tests to run (i.e. Pact go won’t use them), but you probably want them installed anyway to publish pact files etc.Matt (pactflow.io / pact-js / pact-go)