Group: DiUS

Sort: popular | newest
Group DiUS Pact
Pact provider ============= sub project of https://github.com/DiUS/pact-jvm The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients This library provides the basic tools required to automate the process, and should be usable on its own in many instances. Framework and build tool specific bindings will be provided in separate libraries that build on top of this core functionality. ### Provider State Before each interaction is executed, ...
Last Release on Apr 29, 2020

Relocated → au.com.dius.pact » provider

3. Pact JVM Model26 usages

au.com.dius » pact-jvm-modelApache

Pact model ========== The model project is responsible for providing: * a model to represent pacts * serialization and deserialization * comparison between two parts of the pact model * conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires You should never need to include this project directly
Last Release on Apr 29, 2020
Pact consumer ============= Pact Consumer is used by projects that are consumers of an API. Most projects will want to use pact-consumer via one of the test framework specific projects. If your favourite framework is not implemented, this module should give you all the hooks you need. Provides a DSL for use with Java to build consumer pacts. ## Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer` ## DSL Usage Example in a JUnit ...
Last Release on Apr 29, 2020
pact-jvm-consumer-junit ======================= Provides a DSL and a base test class for use with Junit to build consumer tests. ## Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer-junit` * version-id = `4.0.x` ## Usage ### Using the base ConsumerPactTest To write a pact spec extend ConsumerPactTest. This base class defines the following four methods which must be overridden in your test class. * *providerName:* Returns the ...
Last Release on Apr 29, 2020
# pact-jvm-support Support module with common utilities
Last Release on Apr 18, 2020
# Pact junit runner ## Overview Library provides ability to play contract tests against a provider service in JUnit fashionable way. Supports: - Out-of-the-box convenient ways to load pacts - Easy way to change assertion strategy - **org.junit.BeforeClass**, **org.junit.AfterClass** and **org.junit.ClassRule** JUnit annotations, that will be run once - before/after whole contract test suite. - **org.junit.Before**, **org.junit.After** and **org.junit.Rule** JUnit annotations, that will be run ...
Last Release on Apr 29, 2020
Pact JVM Matchers ================= Implements matchers for pact requests and responses.
Last Release on Apr 29, 2020
Pact model ========== The model project is responsible for providing: * a model to represent pacts * serialization and deserialization * comparison between two parts of the pact model * conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires You should never need to include this project directly
Last Release on Apr 18, 2020
# pact-jvm-support Support module with common utilities
Last Release on Apr 29, 2020
Pact model V3 ============= Extensions to the pact-jvm-model that implements V3 specification changes.
Last Release on Sep 17, 2015

12. Pact Model JVM3 usages

au.com.dius » pact-model-jvmApache

pact-model-jvm
Last Release on Jan 17, 2014
pact-jvm-consumer-groovy ========================= Groovy DSL for Pact JVM ## Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer-groovy` * version-id = `4.0.x` ## Usage Add the `pact-jvm-consumer-groovy` library to your test class path. This provides a `PactBuilder` class for you to use to define your pacts. For a full example, have a look at the example JUnit `ExampleGroovyConsumerPactTest`. If you are using gradle for your ...
Last Release on Apr 29, 2020
Scala Support classes =====================
Last Release on Apr 29, 2020
# pact-jvm-consumer-java8 Provides a Java8 lambda based DSL for use with Junit to build consumer tests. # A Lambda DSL for Pact This is an extension for the pact DSL provided by [pact-jvm-consumer](../pact-jvm-consumer). The difference between the default pact DSL and this lambda DSL is, as the name suggests, the usage of lambdas. The use of lambdas makes the code much cleaner. ## Why a new DSL implementation? The lambda DSL solves the following two main issues. Both are visible in the following code ...
Last Release on Apr 29, 2020
Pact JVM Matchers ================= Implements matchers for pact requests and responses.
Last Release on Apr 18, 2020
pact-jvm-loggin --------------- Inlined logging from https://github.com/typesafehub/scalalogging to support both Scala 2.10 and 2.11
Last Release on Apr 14, 2018
Pact Broker Client ================== This module contains the client classes for interacting with a pact broker.
Last Release on Apr 29, 2020
Pact Broker Client ================== This module contains the client classes for interacting with a pact broker.
Last Release on Apr 18, 2020
# Pact Junit 5 Extension ## Overview For writing Pact verification tests with JUnit 5, there is an JUnit 5 Invocation Context Provider that you can use with the `@TestTemplate` annotation. This will generate a test for each interaction found for the pact files for the provider. To use it, add the `@Provider` and one of the pact source annotations to your test class (as per a JUnit 4 test), then add a method annotated with `@TestTemplate` and `@ExtendWith(PactVerificationInvocationContextProvider.class)` ...
Last Release on Apr 29, 2020