Hi Team, I am a QE and have just started learning about Pact and looking for possibilities to introduce it to our team.
Do we have to write Pact tests close to the dev code only? Can we write contract tests in a different repo (other than dev repo) using Pact/Cypress? Would it still serve the purpose?
m
Matt (pactflow.io / pact-js / pact-go)
01/11/2023, 12:50 AM
If you want to use the Pact framework on both the consumer and provider side, you really need the tests to be part of the code that is being tested (think of them as unit tests)
Matt (pactflow.io / pact-js / pact-go)
01/11/2023, 12:51 AM
You could use tools like Cypress to generate pact files, but I wouldn’t currently recommend using that with Pact on the provider side