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 57.37 KB
文件 pom jar
网址 https://github.com/DiUS/pact-jvm
发布时间 2018-09-22 15:21

dependencies

Group Artifact Version
org.jetbrains.kotlin kotlin-stdlib-jdk8 1.2.70
org.jetbrains.kotlin kotlin-reflect 1.2.70
org.slf4j slf4j-api 1.7.25
org.codehaus.groovy groovy-all 2.4.12
io.github.microutils kotlin-logging 1.4.4
org.scala-lang scala-library 2.12.5
com.typesafe.scala-logging scala-logging_2.12 3.7.2
au.com.dius pact-jvm-support 3.6.0-rc.0
au.com.dius pact-jvm-provider-junit_2.12 3.6.0-rc.0
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
cglib cglib 3.2.4
org.objenesis objenesis 2.6
io.kotlintest kotlintest 2.0.7
ru.lanwen.wiremock wiremock-junit5 1.1.1
com.github.tomakehurst wiremock 2.18.0
ch.qos.logback logback-classic 1.1.7
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
5427003