Accurest - Consumer Driven Contracts verifier for Java. Moved to:
Groovy Java Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
accurest-converters/src
accurest-core/src
accurest-gradle-plugin/src
accurest-messaging
accurest-testing-utils/src/main/groovy/io/codearte/accurest/util
docs
gradle
samples
scripts
stub-runner
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
docs.sh
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

ARCHIVED: NOT IN DEVELOPMENT

This project has moved to https://github.com/spring-cloud/spring-cloud-contract

Accurest

Build Status Maven Central Join the chat at https://gitter.im/Codearte/accurest

Consumer Driven Contracts verifier for Java

To make a long story short - Accurest is a tool for Consumer Driven Contract (CDC) development. Accurest ships an easy DSL for describing REST contracts for JVM-based applications. Since version 1.0.7 it also supports messaging.

The contract DSL is used by Accurest for two things:

  1. generating WireMock's JSON stub definitions / stubbed messaging endpoints, allowing rapid development of the consumer side, generating JUnit / Spock's acceptance tests for the server - to verify if your API implementation is compliant with the contract.
  2. moving TDD to an architecture level.

For more information please go to the Documentation

Requirements

Wiremock

In order to use Accurest with Wiremock you have to have Wiremock in version at least 2.0.0-beta . Of course the higher the better :)

Additional projects

Stub Runner

Allows you to download WireMock stubs from the provided Maven repository and runs them in WireMock servers.

Stub Runner JUnit

Stub Runner with JUnit rules

Stub Runner Spring

Spring Configuration that automatically starts stubs upon Spring Context build up

Stub Runner Spring Cloud

Spring Cloud AutoConfiguration that automatically starts stubs upon Spring Context build up and allows you to call the stubs as if they were registered in your service discovery

Accurest Maven Plugin

Maven project support with standalone Accurest Stub Runner and Accurest Contracts to Wiremock mappings converter