pact-jvm-provider-junit5_2.12 pact-jvm-provider-junit5_2.12

Group au.com.dius
描述 # 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)` that takes a `PactVerificationContext` parameter. You will need to call `verifyInteraction()` on the context parameter in your test template method. For example: ```java @Provider("myAwesomeService") @PactFolder("pacts") public class ContractVerificationTest {
Packaging jar
Size 51.37 KB
文件 pom jar
网址 https://github.com/DiUS/pact-jvm
发布时间 2019-05-05 14:59

dependencies

Group Artifact Version
au.com.dius pact-jvm-support 3.6.6
au.com.dius pact-jvm-provider_2.12 3.6.6
org.junit.jupiter junit-jupiter-api 5.2.0
org.specs2 specs2-core_2.12 3.9.4
org.specs2 specs2-junit_2.12 3.9.4
org.hamcrest hamcrest-all 1.3
org.mockito mockito-core 1.10.19
junit junit 4.12
org.spockframework spock-core 1.1-groovy-2.4
org.objenesis objenesis 2.6
io.kotlintest kotlintest 2.0.7
org.codehaus.groovy groovy 2.5.6
ru.lanwen.wiremock wiremock-junit5 1.1.1
com.github.tomakehurst wiremock 2.19.0
cglib cglib 3.2.8
ch.qos.logback logback-classic 1.2.3
org.junit.jupiter junit-jupiter-engine 5.2.0
org.junit.vintage junit-vintage-engine 5.2.0

developers

thetrav Travis Dixon
rholshausen Ronald Holshausen

licenses

Apache 2 http://www.apache.org/licenses/LICENSE-2.0.txt
索引仓库
仓库 个数
Central 592045
4288082