pact-jvm-consumer-junit5_2.11 pact-jvm-consumer-junit5_2.11

Group au.com.dius
描述 pact-jvm-consumer-junit5 ======================== JUnit 5 support for Pact consumer tests ## Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer-junit5_2.12` * version-id = `3.5.x` ## Usage ### 1. Add the Pact consumer test extension to the test class. To write Pact consumer tests with JUnit 5, you need to add `@ExtendWith(PactConsumerTestExt)` to your test class. This replaces the `PactRunner` used for JUnit 4 tests. The rest of the test follows a similar pattern as for JUnit 4 tests. ```java @ExtendWith(PactConsumerTestExt.class) class ExampleJavaConsumerPactTest { ``` ### 2. create a method annotated with `@Pact` that returns the interactions for the test For each test (as with JUnit 4), you need to define a
Packaging jar
Size 21.86 KB
文件 pom jar
网址 https://github.com/DiUS/pact-jvm
发布时间 2018-04-22 14:44

dependencies

Group Artifact Version
org.jetbrains.kotlin kotlin-stdlib-jre8 1.2.0
org.jetbrains.kotlin kotlin-reflect 1.2.0
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.11.8
com.typesafe.scala-logging scala-logging_2.11 3.7.2
au.com.dius pact-jvm-consumer-junit_2.11 3.5.15
org.junit.jupiter junit-jupiter-api 5.1.1
org.specs2 specs2-core_2.11 3.9.4
org.specs2 specs2-junit_2.11 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.4
io.kotlintest kotlintest 2.0.7
ch.qos.logback logback-core 1.1.7
ch.qos.logback logback-classic 1.1.7
org.codehaus.groovy.modules.http-builder http-builder 0.7.1
org.junit.jupiter junit-jupiter-engine 5.1.1

developers

thetrav Travis Dixon
rholshausen Ronald Holshausen

licenses

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