pact-jvm-consumer-specs2_2.10 pact-jvm-consumer-specs2_2.10

Group au.com.dius
描述 pact-jvm-consumer-specs2 ======================== ## Specs2 Bindings for the pact-jvm library ## Dependency In the root folder of your project in build.sbt add the line: ```scala libraryDependencies += "au.com.dius" %% "pact-jvm-consumer-specs2" % "3.0.4" ``` or if you are using Gradle: ```groovy dependencies { testCompile "au.com.dius:pact-jvm-consumer-specs2:3.0.4" } ``` *Note:* `PactSpec` requires spec2 3.x ## Usage To author a test, mix `PactSpec` into your spec First we define a service client called `ConsumerService`. In our example this is a simple wrapper for `dispatch`, an HTTP client. The source code can be found in the test folder alongside the `ExamplePactSpec`. Here is a simple example: ``` import au.com.dius.pact.consumer.PactSpec class ExamplePactSpec exten
Packaging jar
Size 14.89 KB
文件 pom jar
网址 https://github.com/DiUS/pact-jvm
发布时间 2016-01-17 10:54

dependencies

Group Artifact Version
junit junit 4.12
org.scala-lang scala-library 2.10.5
org.hamcrest hamcrest-all 1.3
org.slf4j slf4j-api 1.7.7
org.specs2 specs2-junit_2.10 3.6.4
au.com.dius pact-jvm-consumer_2.10 2.4.3
org.specs2 specs2-core_2.10 3.6.4
org.scala-lang scala-compiler 2.10.5
org.mockito mockito-core 1.9.5

developers

thetrav Travis Dixon
rholshausen Ronald Holshausen
kenbot Ken Scambler

licenses

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