pact-jvm-consumer-java8_2.12 pact-jvm-consumer-java8_2.12
Group | au.com.dius |
描述 | # 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 sample: ```java new PactDslJsonArray() .array() # open an array .stringValue("a1") # choose the method that is valid for arrays .stringValue("a2") # choose the method that is valid for arrays |
Packaging | jar |
Size | 18.60 KB |
文件 | pom jar |
网址 | https://github.com/DiUS/pact-jvm |
发布时间 | 2020-04-29 11:38 |
dependencies
developers
thetrav | Travis Dixon | |
rholshausen | Ronald Holshausen |
licenses
Apache 2 | http://www.apache.org/licenses/LICENSE-2.0.txt |
索引仓库
仓库 | 个数 |
Central | 592045 |