Group : au.com.dius

pact-jvm-consumer-specs2_2.10

au.com.dius » pact-jvm-consumer-specs2_2.10

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 = "{}"

更新时间: 2018-04-14 19:49

pact-jvm-consumer-junit_2.10

au.com.dius » pact-jvm-consumer-junit_2.10

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_2.11` * version-id = `3.0.x` ##Usage ### Using the base ConsumerPactTest To write a pact spec extend ConsumerPactTest. 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 PactFrament containing the interactions that the test setup using the ConsumerPactBuilder DSL * *runTest:* The actual test run. It re

更新时间: 2018-04-14 19:48

pact-jvm-consumer-groovy_2.10

au.com.dius » pact-jvm-consumer-groovy_2.10

pact-jvm-consumer-groovy ========================= Groovy DSL for Pact JVM ##Dependency The library is available on maven central using: * group-id = `au.com.dius` * artifact-id = `pact-jvm-consumer-groovy_2.11` * version-id = `2.3.x` or `3.1.x` ##Usage Add the `pact-jvm-consumer-groovy` library to your test class path. This provides a `PactBuilder` class for you to use to define your pacts. For a full example, have a look at the example JUnit `ExampleGroovyConsumerPactTest`. If you are using gradle for your build, add it to your `build.gradle`: dependencies { testCompile 'au.com.dius:pact-jvm-consumer-groovy_2.11:3.1.0' } Then create an instance of the `PactBuilder` in your test. ```groovy @Test void "A service consumer side of a pact goes a little some

更新时间: 2018-04-14 19:47

pact-jvm-model_2.11

au.com.dius » pact-jvm-model_2.11

Pact model ========== The model project is responsible for providing: * a model to represent pacts * serialization and deserialization * comparison between two parts of the pact model * conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires You should never need to include this project directly

更新时间: 2016-08-23 20:55

pact-jvm-model_2.10

au.com.dius » pact-jvm-model_2.10

Pact model ========== The model project is responsible for providing: * a model to represent pacts * serialization and deserialization * comparison between two parts of the pact model * conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires You should never need to include this project directly

更新时间: 2016-08-23 20:54

FatBoy

au.com.dius » fatboy

Library for creating fixture data with 0 or some configuration

更新时间: 2016-06-14 09:42

pact-jvm-provider-sbt_2.10_0.13

au.com.dius » pact-jvm-provider-sbt_2.10_0.13

Pact sbt plugin =============== The sbt plugin adds an sbt task for running all provider pacts against a running server. To use the pact sbt plugin, add the following to your project/plugins.sbt addSbtPlugin("au.com.dius" %% "pact-jvm-provider-sbt" % "2.1.0") and the following to your build.sbt PactJvmPlugin.pactSettings The new task added is verifyPacts Two new keys are added to configure this task: pactConfig is the location of your pact-config json file (defaults to "pact-config.json" in the classpath root) pactRoot is the root folder of your pact json files (defaults to "pacts"), all .json files in root and sub folders will be executed

更新时间: 2015-01-07 18:07

pact-jvm-consumer-sbt_2.10_0.13

au.com.dius » pact-jvm-consumer-sbt_2.10_0.13

pact-jvm-consumer-sbt =====================

更新时间: 2015-01-07 18:02

pact-jvm-provider-sbt_2.10

au.com.dius » pact-jvm-provider-sbt_2.10

Pact sbt plugin =============== The sbt plugin adds an sbt task for running all provider pacts against a running server. To use the pact sbt plugin, add the following to your project/plugins.sbt addSbtPlugin("com.dius" %% "pact-jvm-provider-sbt" % "2.0.2") and the following to your build.sbt PactJvmPlugin.pactSettings The new task added is verifyPacts Two new keys are added to configure this task: pactConfig is the location of your pact-config json file (defaults to "pact-config.json" in the classpath root) pactRoot is the root folder of your pact json files (defaults to "pacts"), all .json files in root and sub folders will be executed

更新时间: 2014-08-07 17:20

pact-jvm-consumer-sbt_2.10

au.com.dius » pact-jvm-consumer-sbt_2.10

pact-jvm-consumer-sbt =====================

更新时间: 2014-08-07 17:18

pact-jvm

au.com.dius » pact-jvm_2.10

pact-jvm

更新时间: 2014-07-12 06:35

pact-provider-jvm

au.com.dius » pact-provider-jvm_2.10

pact-provider-jvm

更新时间: 2014-01-18 05:47

pact-consumer-jvm

au.com.dius » pact-consumer-jvm_2.10

pact-consumer-jvm

更新时间: 2014-01-18 05:46

pact-model-jvm

au.com.dius » pact-model-jvm_2.10

pact-model-jvm

更新时间: 2014-01-18 05:46

pact-jvm-model-v3_2.10

au.com.dius » pact-jvm-model-v3_2.10

Pact model V3 ============= Extensions to the pact-jvm-model that implements V3 specification changes.

更新时间: 1970-01-01 08:00
共7页 , 总 94
索引仓库
仓库 个数
Central 592045