| Class | Description |
|---|---|
| BaseProviderRule | |
| ConsumerPactTest | |
| MessagePactProviderRule |
A junit rule that wraps every test annotated with
. |
| PactHttpsProviderRule |
A junit rule that wraps every test annotated with
. Before each test, a mock server will be setup at given port/host that will provide mocked responses for the given provider. After each test, it will be teared down. If no host is given, it will default to 127.0.0.1. If no port is given, it will default to a random port. |
| PactProviderRule |
A junit rule that wraps every test annotated with
. Before each test, a mock server will be setup at given port/host that will provide mocked responses for the given provider. After each test, it will be teared down. If no host is given, it will default to 127.0.0.1. If no port is given, it will default to a random port. If you need to use HTTPS, use PactHttpsProviderRule |