All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Download JAR files tagged by dius with all dependencies


pact-jvm-provider-specs2_2.12 from group au.com.dius (version 4.0.10)

pact-jvm-provider-specs2 ======================== Provides an extension to Specs2 Specification to validate a pact file against a running provider. See [ExampleProviderSpec.scala](pact-jvm-provider-specs2/src/test/scala/au/com/dius/pact/provider/specs2/ExampleProviderSpec.scala) for an example. *Note:* The Pact ProviderSpec requires spec2 3.x

Group: au.com.dius Artifact: pact-jvm-provider-specs2_2.12
Show all versions Show documentation Show source 
Download pact-jvm-provider-specs2_2.12.jar (4.0.10)
 

0 downloads
Artifact pact-jvm-provider-specs2_2.12
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 3
Dependencies pact-jvm-provider_2.12, pact-jvm-provider-scalasupport_2.12, specs2-core_2.12,
There are maybe transitive dependencies!

pact-jvm-provider-scalatest_2.12 from group au.com.dius (version 4.0.10)

pact-jvm-provider-scalatest ======================== Provides an extension to scalatest to validate pact files against a running provider. See [examples](src/test/scala/au/com/dius/pact/provider/scalatest) for details. *Note:* The Pact ProviderSpec requires scalatest 2.2.x

Group: au.com.dius Artifact: pact-jvm-provider-scalatest_2.12
Show all versions Show documentation Show source 
Download pact-jvm-provider-scalatest_2.12.jar (4.0.10)
 

0 downloads
Artifact pact-jvm-provider-scalatest_2.12
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 3
Dependencies pact-jvm-provider, pact-jvm-provider-scalasupport_2.12, scalatest_2.12,
There are maybe transitive dependencies!

pact-jvm-provider-specs2_2.11 from group au.com.dius (version 3.5.24)

pact-jvm-provider-specs2 ======================== Provides an extension to Specs2 Specification to validate a pact file against a running provider. See [ExampleProviderSpec.scala](pact-jvm-provider-specs2/src/test/scala/au/com/dius/pact/provider/specs2/ExampleProviderSpec.scala) for an example. *Note:* The Pact ProviderSpec requires spec2 3.x

Group: au.com.dius Artifact: pact-jvm-provider-specs2_2.11
Show all versions Show documentation Show source 
Download pact-jvm-provider-specs2_2.11.jar (3.5.24)
 

1 downloads
Artifact pact-jvm-provider-specs2_2.11
Group au.com.dius
Version 3.5.24
Last update 04. November 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 11
Dependencies kotlin-stdlib-jre7, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-compiler, scala-logging_2.11, pact-jvm-provider_2.11, pact-jvm-provider-scalasupport_2.11, specs2-core_2.11,
There are maybe transitive dependencies!

pact-jvm-provider-scalatest_2.11 from group au.com.dius (version 3.5.24)

pact-jvm-provider-scalatest ======================== Provides an extension to scalatest to validate pact files against a running provider. See [examples](src/test/scala/au/com/dius/pact/provider/scalatest) for details. *Note:* The Pact ProviderSpec requires scalatest 2.2.x

Group: au.com.dius Artifact: pact-jvm-provider-scalatest_2.11
Show all versions Show documentation Show source 
Download pact-jvm-provider-scalatest_2.11.jar (3.5.24)
 

1 downloads
Artifact pact-jvm-provider-scalatest_2.11
Group au.com.dius
Version 3.5.24
Last update 04. November 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 6
Dependencies slf4j-api, scala-library, scala-compiler, scala-logging_2.11, pact-jvm-provider_2.11, scalatest_2.11,
There are maybe transitive dependencies!

pact-jvm-provider-specs2_2.10 from group au.com.dius (version 2.4.20)

Group: au.com.dius Artifact: pact-jvm-provider-specs2_2.10
Show all versions Show documentation Show source 
Download pact-jvm-provider-specs2_2.10.jar (2.4.20)
 

0 downloads
Artifact pact-jvm-provider-specs2_2.10
Group au.com.dius
Version 2.4.20


pact-jvm-provider-scalatest_2.10 from group au.com.dius (version 2.4.20)

Group: au.com.dius Artifact: pact-jvm-provider-scalatest_2.10
Show all versions Show documentation Show source 
Download pact-jvm-provider-scalatest_2.10.jar (2.4.20)
 

0 downloads
Artifact pact-jvm-provider-scalatest_2.10
Group au.com.dius
Version 2.4.20


specs2_2.13 from group au.com.dius.pact.provider (version 4.2.21)

pact-jvm-provider-specs2 ======================== Provides an extension to Specs2 Specification to validate a pact file against a running provider. See [ExampleProviderSpec.scala](https://github.com/DiUS/pact-jvm/blob/master/provider/specs2/src/test/scala/au/com/dius/pact/provider/specs2/ExampleProviderSpec.scala) for an example. <!-- Absolute URL to example to support rendering this page in docs.pact.io --> *Note:* The Pact ProviderSpec requires spec2 3.x

Group: au.com.dius.pact.provider Artifact: specs2_2.13
Show all versions Show documentation Show source 
Download specs2_2.13.jar (4.2.21)
 

0 downloads
Artifact specs2_2.13
Group au.com.dius.pact.provider
Version 4.2.21
Last update 13. May 2022
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies provider, scalasupport_2.13, specs2-core_2.13, scala-library, scala-logging_2.13,
There are maybe transitive dependencies!

scalatest_2.13 from group au.com.dius.pact.provider (version 4.2.21)

pact-jvm-provider-scalatest ======================== Provides an extension to scalatest to validate pact files against a running provider. See [examples](https://github.com/DiUS/pact-jvm/tree/master/provider/scalatest/src/test/scala/au/com/dius/pact/provider/scalatest) for details. <!-- absolute URL for docs.pact.io --> *Note:* The Pact ProviderSpec requires scalatest 2.2.x

Group: au.com.dius.pact.provider Artifact: scalatest_2.13
Show all versions Show documentation Show source 
Download scalatest_2.13.jar (4.2.21)
 

0 downloads
Artifact scalatest_2.13
Group au.com.dius.pact.provider
Version 4.2.21
Last update 13. May 2022
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 3
Dependencies provider, scalasupport_2.13, scalatest_2.13,
There are maybe transitive dependencies!

pact-jvm-provider-sbt_2.10 from group au.com.dius (version 2.0.2)

Group: au.com.dius Artifact: pact-jvm-provider-sbt_2.10
Show all versions Show documentation Show source 
Download pact-jvm-provider-sbt_2.10.jar (2.0.2)
 

0 downloads
Artifact pact-jvm-provider-sbt_2.10
Group au.com.dius
Version 2.0.2


pact-jvm-consumer-specs2_2.12 from group au.com.dius (version 4.0.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.2.11" ``` or if you are using Gradle: ```groovy dependencies { testCompile "au.com.dius:pact-jvm-consumer-specs2_2.11:3.2.11" } ``` __*Note:*__ `PactSpec` requires spec2 3.x. Also, for spray users there's an incompatibility between specs2 v3.x and spray. Follow these instructions to resolve that problem: https://groups.google.com/forum/#!msg/spray-user/2T6SBp4OJeI/AJlnJuAKPRsJ ## 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 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 = "{}") .withConsumerTest { providerConfig => Await.result(ConsumerService(providerConfig.url).simpleGet("/foo"), Duration(1000, MILLISECONDS)) must beEqualTo(200, Some("{}")) } } ``` This spec will be run along with the rest of your specs2 unit tests and will output your pact json to ``` /target/pacts/<Consumer>_<Provider>.json ``` # Forcing pact files to be overwritten (3.6.5+) By default, when the pact file is written, it will be merged with any existing pact file. To force the file to be overwritten, set the Java system property `pact.writer.overwrite` to `true`.

Group: au.com.dius Artifact: pact-jvm-consumer-specs2_2.12
Show all versions Show documentation Show source 
Download pact-jvm-consumer-specs2_2.12.jar (4.0.10)
 

0 downloads
Artifact pact-jvm-consumer-specs2_2.12
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies pact-jvm-consumer, json, specs2-core_2.12, async-http-client, scala-java8-compat_2.12,
There are maybe transitive dependencies!



Page 1 from 3 (items total 63)


© 2015 - 2024 Weber Informatics LLC | Privacy Policy