| Interface | Description |
|---|---|
| Consumer |
Used to pass consumer name to PactRunner
|
| IgnoreNoPactsToVerify |
With this annotation set on the test class, the pact runner will ignore the fact that there are no pacts to verify.
|
| Provider |
Used to pass provider name to PactRunner
|
| State |
Used to mark methods that should be run on state change
|
| TargetRequestFilter |
Annotation to mark a test method as a request filter. The method must receive a single HttpRequest parameter
|
| VerificationReports |
Annotation to control the generation of verification reports
|
| Class | Description |
|---|---|
| FilteredPactRunner<I extends Interaction> | Deprecated |
| InteractionRunner |
Internal class to support pact test running Developed with org.junit.runners.BlockJUnit4ClassRunner in mind
|
| JUnitProviderTestSupport | |
| MessagePactRunner<I extends Interaction> |
Pact runner that only verifies message pacts
|
| PactRunner<I extends Interaction> |
JUnit Runner runs pacts against provider
To set up name of tested provider use
interface Provider annotation
To point on pact's source use interface PactBroker, interface PactFolder or interface PactSource annotations |
| RestPactRunner<I extends Interaction> | |
| RunStateChanges |
| Exception | Description |
|---|---|
| MissingStateChangeMethod |