Package au.com.dius.pact.provider
Interface VerificationReporter
-
- All Implemented Interfaces:
public interface VerificationReporterInterface to the reporter that published the verification results
-
-
Method Summary
Modifier and Type Method Description abstract UnitreportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag)Publish the results to the pact broker. abstract Result<Boolean, List<String>>reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, List<String> tags, String branch)Publish the results to the pact broker. abstract BooleanpublishingResultsDisabled()This must return true unless the pact.verifier. abstract BooleanpublishingResultsDisabled(ValueResolver resolver)This must return true unless the pact.verifier. -
-
Method Detail
-
reportResults
@Deprecated(message = "Use version that takes a list of provider tags") abstract Unit reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag)
Publish the results to the pact broker. If the tag is given, then the provider will be tagged with that first.
-
reportResults
abstract Result<Boolean, List<String>> reportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, List<String> tags, String branch)
Publish the results to the pact broker. If the branch is given, then branch for this provider will be created first. If the tags are given, then the provider will be tagged with those after the branch si created.
-
publishingResultsDisabled
@Deprecated(message = "Use version that takes a value resolver") abstract Boolean publishingResultsDisabled()
This must return true unless the pact.verifier.publishResults property has the value of "true"
-
publishingResultsDisabled
abstract Boolean publishingResultsDisabled(ValueResolver resolver)
This must return true unless the pact.verifier.publishResults property has the value of "true"
-
-
-
-