Package au.com.dius.pact.provider
Object DefaultVerificationReporter
-
- All Implemented Interfaces:
-
au.com.dius.pact.provider.VerificationReporter,io.github.oshai.kotlinlogging.KLoggable
public class DefaultVerificationReporter extends KLogging implements VerificationReporter
Default implementation of a verification reporter
-
-
Field Summary
Fields Modifier and Type Field Description private final KLoggerloggerpublic final static DefaultVerificationReporterINSTANCE
-
Method Summary
Modifier and Type Method Description UnitreportResults(Pact pact, TestResult result, String version, IPactBrokerClient client, String tag)Publish the results to the pact broker. 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. BooleanpublishingResultsDisabled()This must return true unless the pact.verifier. BooleanpublishingResultsDisabled(ValueResolver resolver)This must return true unless the pact.verifier. -
-
Method Detail
-
reportResults
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
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
Boolean publishingResultsDisabled()
This must return true unless the pact.verifier.publishResults property has the value of "true"
-
publishingResultsDisabled
Boolean publishingResultsDisabled(ValueResolver resolver)
This must return true unless the pact.verifier.publishResults property has the value of "true"
-
-
-
-