Files
getting-started/spring-cloud/spring-cloud-contract-provider/README.md
2018-03-20 21:48:25 +01:00

590 B

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