Hi I am working with a java service team, that wants to know if they can run the verify step with mvn test, instead of bringing up the entire service in localhost
u
uglyog
06/23/2022, 11:29 PM
If you are using unit tests, you don't need to start the app, you can just test the things you need to in the unit test
b
bstyle killa
06/23/2022, 11:57 PM
ahh okay great information thank you @uglyog In this case, can we still use the cli’s pact-provider-verifier? Is seems like in that case we should use
mvn clean test -options
as below right?
bstyle killa
06/23/2022, 11:58 PM
I didnt see any examples of this in the docs, just that we need to start a localhost
u
uglyog
06/24/2022, 12:06 AM
You need to use one of the other. If you use the cli verifier, you need to have your app running. If you use unit tests, the tests will run the verification.