Murat Ozcan
08/26/2024, 4:00 PMconsumerVersionSelectors = [
{ matchingBranch: true },
{ mainBranch: true }, // have to disable for the provide test to pass
{ deployedOrReleased: true } // have to disable for the provide test to pass
]
}
The only way it can work in this flow is by disabling testing against main & deployed and released.
That way , execution in main of consumer happens against the main of provider, execution of the branch name happens against the branch name of a provider.
When we do that though, it gets blocked at can i deploy for both the consumer and provider.
I believe my scripts are setup optimally
https://github.com/muratkeremozcan/pact-js-example-provider/blob/main/package.json#L13
https://github.com/mdcruz/consumer-example/blob/main/package.json#L8
If you're willing to give it a whirl, I can share the token and the base url. Everything is reproducible locally.Yousaf Nabi (pactflow.io)
Murat Ozcan
08/27/2024, 2:01 PMYousaf Nabi (pactflow.io)
Murat Ozcan
08/27/2024, 2:06 PMMurat Ozcan
08/27/2024, 2:06 PMYousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Mockoon api mocking to compare and contrast how you’d use pact alongside or versus other tooling out thereYeah we have written comparisons here https://docs.pact.io/getting_started/comparisons however it would be nice to have a repo with an example where they are actually contrasted and compared in code. New recipes are always welcome to be added to the site as well, and suggestions can be dropped in via gh issues (either in the docs repo or roadmap)