pact-jvm-consumer-junit pact-jvm-consumer-junit
Group | au.com.dius |
描述 | 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 ConsumerPactTestMk2. This base class defines the following four methods which must be overridden in your test class. * *providerName:* Returns the name of the API provider that Pact will mock * *consumerName:* Returns the name of the API consumer that we are testing. * *createFragment:* Returns the PactFragment containing the interactions that the test setup using the ConsumerPactBuilder DSL * *runTest:* The actual test run. It r |
Packaging | jar |
Size | 21.55 KB |
文件 | pom jar |
网址 | https://github.com/DiUS/pact-jvm |
发布时间 | 2020-02-22 09:58 |
dependencies
Group | Artifact | Version |
---|---|---|
au.com.dius | pact-jvm-consumer | 4.0.6 |
junit | junit | 4.12 |
org.json | json | 20160212 |
org.apache.commons | commons-lang3 | 3.4 |
com.google.guava | guava | 18.0 |
developers
thetrav | Travis Dixon | |
rholshausen | Ronald Holshausen |
licenses
Apache 2 | http://www.apache.org/licenses/LICENSE-2.0.txt |
索引仓库
仓库 | 个数 |
Central | 592045 |