As far as I understand(beginner level on Spring Cloud Contract), the contract tests generated from the groovy contracts are with junit.
What if I want to use TestNG? Basically I want to group my tests with TestNG annotation @Test(groups="unit")
and @Test(groups="contract")
in order to separate unit tests and contract tests using ssomething like mvn test -Dgroups=unit
and mvn test -Dgroups=contract
.
Thank you for your help.