Sneha Singh
09/09/2022, 12:39 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
could I just leave my backend server running in the background and pact will pull API details from the contract, make the request, and validate the response received against what we have in the contract since we are providing pactUrls in the pact.VerifyProvider or something else? (Yes exactly, this is what you do for the provider test.
Matt (pactflow.io / pact-js / pact-go)
Sneha Singh
09/09/2022, 5:58 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Slackbot
09/09/2022, 5:58 AMMatt (pactflow.io / pact-js / pact-go)
Slackbot
09/09/2022, 5:59 AMSneha Singh
09/09/2022, 6:36 AMMatt (pactflow.io / pact-js / pact-go)
Sneha Singh
09/09/2022, 6:38 AMMatt (pactflow.io / pact-js / pact-go)
just curious though, why are starting the server and adding api route handler in the below example.. could you please clarify that?in that example, that is the API provider. You have to run the provider for the pact test to work
Matt (pactflow.io / pact-js / pact-go)
Sneha Singh
09/09/2022, 6:39 AMMatt (pactflow.io / pact-js / pact-go)