pact-jvm-consumer-specs2_2.11 pact-jvm-consumer-specs2_2.11
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 Here is a simple example: ``` import au.com.dius.pact.consumer.PactSpec class ExamplePactSpec extends Specification with PactSpec { val consumer = "My Consumer" val provider = "My Provider" override def is = uponReceiving("a request for foo") .matching(path = "/foo") .willRespondWith(body = "{}" |
Packaging | jar |
Size | 15.01 KB |
文件 | pom jar |
网址 | https://github.com/DiUS/pact-jvm |
发布时间 | 2015-11-14 14:34 |
dependencies
developers
thetrav | Travis Dixon | |
rholshausen | Ronald Holshausen | |
kenbot | Ken Scambler |
licenses
Apache 2 | http://www.apache.org/licenses/LICENSE-2.0.txt |
索引仓库
仓库 | 个数 |
Central | 592045 |