Hi I'm writing pact contract tests for Spring boot...
# pact-jvm
p
Hi I'm writing pact contract tests for Spring boot provider service. My provider test is a SpringBootTest. With the gradle test task in the CI/CD pipeline, I'm able to verify and publish the test results to my pact broker. Would like to know how gradle pactVerify task is different from the above process and which one is recommended for verifying and publishing provider test results.
m
from what above process, sorry?
the
SpringBootTest
vs
gradleTest
you mean?
p
Verifying provider using gradle test vs gradle pactVerify?
m
One executes the test framework which gives you access to all of the usual features of a test tool like JUnit, whereas gradle verify does not
p
Thank you!
👍 1