Download all versions of specs2_2.13 JAR files with all dependencies
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.42)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.42
Last update 28. July 2023
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.42
Last update 28. July 2023
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.41)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.41
Last update 23. December 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.41
Last update 23. December 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.40)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.40
Last update 25. November 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.40
Last update 25. November 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.39)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.39
Last update 02. August 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.39
Last update 02. August 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.38)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.38
Last update 31. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.38
Last update 31. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.37)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.37
Last update 26. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.37
Last update 26. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.2.21)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.2.21
Last update 13. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.2.21
Last update 13. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.36)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.36
Last update 13. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.36
Last update 13. May 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.1.35)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.1.35
Last update 19. April 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.1.35
Last update 19. April 2022
Tags: ajlnjuakprsj milliseconds called simpleget usage your when tracking these output path problem java pact overwritten property https overwrite between using spray dependency google version dependencies folder groovy system withconsumertest providerconfig must force quot requires pact_do_not_track 1000 willrespondwith example matching result into default library found file override operating beequalto 2t6sbp4ojei spec2 alongside examplepactspec uponreceiving testcompile gradle forcing incompatibility disable anonymous apos first statistics instructions dispatch resolve bindings project simple wrapper source consumerservice body specs2 spec analytics that pactspec written test like author this gather users specs2_2 important unit tests extends true http files here note request some code import scala line pacts dius duration along provider root define await client json class consumer rest will merged groups specification librarydependencies also follow target forum with existing environment build service there variable writer user
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
specs2_2.13 from group au.com.dius.pact.consumer (version 4.2.20)
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.consumer" %% "specs2" % "4.0.1"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius.pact.consumer:specs2_2.13:4.0.1"
}
```
__*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`.
# Test Analytics
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.
Artifact specs2_2.13
Group au.com.dius.pact.consumer
Version 4.2.20
Last update 10. February 2022
Tags: using test wrapper file beequalto import along quot groups these groovy forcing providerconfig like analytics project system operating http will pactspec examplepactspec some 1000 spec google simple line build 2t6sbp4ojei version anonymous tests dependencies written note https define files specs2_2 spray resolve true spec2 overwritten folder simpleget library force variable body users instructions client root consumer willrespondwith must dependency pact_do_not_track apos gather when request writer librarydependencies milliseconds follow alongside extends here class property code incompatibility requires that environment default pact matching await override called gradle example rest output this result forum consumerservice ajlnjuakprsj bindings existing uponreceiving scala withconsumertest statistics author json path dispatch disable between with specs2 important your into provider problem testcompile unit duration source tracking there overwrite specification service target usage java first also user pacts dius merged found
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Group au.com.dius.pact.consumer
Version 4.2.20
Last update 10. February 2022
Tags: using test wrapper file beequalto import along quot groups these groovy forcing providerconfig like analytics project system operating http will pactspec examplepactspec some 1000 spec google simple line build 2t6sbp4ojei version anonymous tests dependencies written note https define files specs2_2 spray resolve true spec2 overwritten folder simpleget library force variable body users instructions client root consumer willrespondwith must dependency pact_do_not_track apos gather when request writer librarydependencies milliseconds follow alongside extends here class property code incompatibility requires that environment default pact matching await override called gradle example rest output this result forum consumerservice ajlnjuakprsj bindings existing uponreceiving scala withconsumertest statistics author json path dispatch disable between with specs2 important your into provider problem testcompile unit duration source tracking there overwrite specification service target usage java first also user pacts dius merged found
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies consumer, json, specs2-core_2.13, async-http-client, scala-java8-compat_2.13,
There are maybe transitive dependencies!
Page 1 from 7 (items total 69)