ARCHIVED: NOT IN DEVELOPMENT
This project has moved to https://github.com/spring-cloud/spring-cloud-contract
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:
- 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.
- moving TDD to an architecture level.
For more information please go to the Documentation
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 :)
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
Maven project support with standalone Accurest Stub Runner and Accurest Contracts to Wiremock mappings converter