Open TGNThump opened 2 years ago
The main problem with this is knowing when the Pact is complete and ready to be published. The tests for the interactions can be spread over a number of test classes, and JUnit can run the tests in parallel and also random order.
The reason the CLI is used, it will run after the tests have all run and you know everything is complete.
It would be useful to be able to publish pacts directly to the broker using au.com.dius.pact.consumer:junit5 instead of having to rely on the cli or au.com.dius.pact.provider:maven.