Hi all, we have a custom test harness that I would...
# pact-jvm
a
Hi all, we have a custom test harness that I would like to embed the pact verification in. We have our own custom http client already configured, so I would like to be able to use the verification on a slightly different level. What would be the best way to plug in the verification of pacts with responses? (On the JVM)
u
Depends on how embedded it is with your test framework. There is an Verifier class that does most of the work. Best to start with the Gradle or Maven tasks and see how they work.
a
Thanks. Do you have an entry point? I was looking at the JUNit tests but those pull up the server and run the tests as well
u
The JUnit test support is a bit more complex, as it integrates with the JUnit lifecycle.