Hi all,
I have a couple of questions regarding the verification stage using Java and JUnit5.
1. I am having trouble with setting @IgnoreNoPactsToVerify in the test file (or -DfailIfNoPactsFound=false in the mvn command). With no consumer the test is still failing (context is being set to null).
2. I want to run the verify step against a given environment using the specified 'tag' (we still haven't moved across to environments / deployments). This tag though depends on which CI job is running (ie which environment is being deployed to). Thus I want to pass in the consumer version at run time - and cannot thus set it up in the PACTBroker consumerVersionSelectors annotation. Is there a way this can be passed in maven similar to setting -Dpact.verifier.publishResults=true ? So I can run as part of the mvn command from gitlab CI?
Thanks