@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PactBroker
PactRunner to source of pacts for contract testspact loader| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
host |
java.lang.String |
port |
| Modifier and Type | Optional Element and Description |
|---|---|
PactBrokerAuth |
authentication
Authentication to use with the pact broker
|
boolean |
failIfNoPactsFound
If the test should fail if no pacts are found for the provider, default is true.
|
java.lang.String |
protocol
HTTP protocol, defaults to http
|
java.lang.String[] |
tags
Tags to use to fetch pacts for
|
public abstract boolean failIfNoPactsFound
public abstract PactBrokerAuth authentication