/scala-pact

A Scala implementation of CDC using the Pact standard

Primary LanguageScalaOtherNOASSERTION

Scala-Pact

A library for generating Consumer Driven Contract files in Scala projects following the PACT standard using ScalaTest. Includes supporting tools that use Pact files to verify and stub services.

Scala-Pact is intended for Scala developers who are looking for a better way to manage the HTTP contracts between their services.

Latest version is 2.1.2

To get started with SBT:

Add the following line to you build.sbt file to setup the test framework:

libraryDependencies += "com.itv" %% "scalapact-scalatest" % "2.1.3"

Add this line to your project/plugins.sbt file to install the plugin:

addSbtPlugin("com.itv.plugins" % "scalapact-plugin" % "2.1.3")

Please visit our official documentation site for more details and examples.

There is also an example project setup for reference.