Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
gradle/wrapper
src
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Testing a Spring Boot REST API against a Contract with Spring Cloud Contract

Companion Blog Article

Read the companion blog article to this repository.

Getting Started

  • have a look at the contract
  • have a look at the controller
  • run ./gradlew generateContractTests to generate JUnit tests that validate the controller against the contract
  • run ./gradlew build to generate and run the tests