- PactBroker - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point PactRunner to source of pacts for contract tests Default values can be set by setting the `pactbroker.*` system properties
- PactBrokerAuth - Interface in au.com.dius.pact.provider.junit.loader
-
Defines the authentication scheme to use with the pact broker
- PactBrokerLoader - Class in au.com.dius.pact.provider.junit.loader
-
Out-of-the-box implementation of PactLoader that downloads pacts from Pact broker
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
-
- PactFilter - Interface in au.com.dius.pact.provider.junit.loader
-
Annotation to filter pacts by provider state. Supports regular expressions.
- PactFolder - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point PactRunner to source of pacts for contract tests
- PactFolderLoader - Class in au.com.dius.pact.provider.junit.loader
-
Out-of-the-box implementation of PactLoader that loads pacts from either a subfolder of project resource folder or a directory
- PactFolderLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactFolderLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactFolderLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactFolderLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
-
- PactLoader - Interface in au.com.dius.pact.provider.junit.loader
-
Encapsulate logic for loading pacts
- PactRunner - Class in au.com.dius.pact.provider.junit
-
JUnit Runner runs pacts against provider To set up name of tested provider use Provider annotation To point on pact's source use PactBroker, PactFolder or PactSource annotations To point provider for testing use combination of Target interface and TestTarget annotation There is out-of-the-box implementation of Target: HttpTarget that will play interaction from pacts as http request and check http responses Runner supports: - org.junit.BeforeClass, org.junit.AfterClass and org.junit.ClassRule annotations, that will be run once - before/after whole contract test suite - org.junit.Before, org.junit.After and org.junit.Rule annotations, that will be run before/after each test of interaction WARNING: please note, that only org.junit.rules.TestRule is possible to use with this runner, i.e. org.junit.rules.MethodRule IS NOT supported - State - before each interaction that require state change, all methods annotated by State with appropriate state listed will be invoked
- PactRunner() - Constructor for class au.com.dius.pact.provider.junit.PactRunner
-
- PactRunnerExpressionParser - Class in au.com.dius.pact.provider.junit.sysprops
-
- PactSource - Interface in au.com.dius.pact.provider.junit.loader
-
Point out which PactLoader use for pact loading
- PactUrl - Interface in au.com.dius.pact.provider.junit.loader
-
Used to point PactRunner to source of pacts for contract tests
- PactUrlLoader - Class in au.com.dius.pact.provider.junit.loader
-
Implementation of PactLoader that downloads pacts from given urls
- PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
-
- PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
-
- parseExpression() - Static method in class au.com.dius.pact.provider.junit.sysprops.PactRunnerExpressionParser
-
- parseExpression() - Static method in class au.com.dius.pact.provider.junit.sysprops.PactRunnerExpressionParser
-
- parseListExpression() - Static method in class au.com.dius.pact.provider.junit.sysprops.PactRunnerExpressionParser
-
- parseListExpression() - Static method in class au.com.dius.pact.provider.junit.sysprops.PactRunnerExpressionParser
-
- password() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
-
Password to use for authentication
- port() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
-
- propertyDefined() - Method in class au.com.dius.pact.provider.junit.sysprops.SystemPropertyResolver
-
- propertyDefined() - Method in interface au.com.dius.pact.provider.junit.sysprops.ValueResolver
-
- protocol() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
-
HTTP protocol, defaults to http
- Provider - Interface in au.com.dius.pact.provider.junit
-
Used to pass provider name to PactRunner