public class DefaultVerificationReporter implements VerificationReporter
Default implementation of a verification reporter
public static DefaultVerificationReporter INSTANCE
Default implementation of a verification reporter
public void reportResults(@NotNull
au.com.dius.pact.core.model.Pact<? extends au.com.dius.pact.core.model.Interaction> pact,
@NotNull
au.com.dius.pact.core.pactbroker.TestResult result,
@NotNull
java.lang.String version,
@Nullable
au.com.dius.pact.core.pactbroker.IPactBrokerClient client,
@Nullable
java.lang.String tag)
Publish the results to the pact broker. If the tag is given, then the provider will be tagged with that first.
@NotNull
public com.github.michaelbull.result.Result<java.lang.Boolean,java.util.List> reportResults(@NotNull
au.com.dius.pact.core.model.Pact<? extends au.com.dius.pact.core.model.Interaction> pact,
@NotNull
au.com.dius.pact.core.pactbroker.TestResult result,
@NotNull
java.lang.String version,
@Nullable
au.com.dius.pact.core.pactbroker.IPactBrokerClient client,
@NotNull
java.util.List<java.lang.String> tags,
@Nullable
java.lang.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.
public boolean publishingResultsDisabled()
This must return true unless the pact.verifier.publishResults property has the value of "true"
public boolean publishingResultsDisabled(@NotNull
au.com.dius.pact.core.support.expressions.ValueResolver resolver)
This must return true unless the pact.verifier.publishResults property has the value of "true"