microcks-testcontainers-java-spring-demo icon indicating copy to clipboard operation
microcks-testcontainers-java-spring-demo copied to clipboard

Spring Boot demonstration app on how to use Microcks Testcontainers in your dev/test workflow

Microcks Testcontainers Spring Boot Demo

Microcks Testcontainers Spring demo

This application is a demonstration on how to integrate Microcks via Testcontainers within your development inner-loop.

You will work with a Spring Boot application and explore how to:

  • Use Microcks for provisioning third-party API mocks,
  • Use Microcks for simulating external Kafka events publishers,
  • Write tests using Microcks contract-testing features for both REST/OpenAPI based APIs and Events/AsyncAPI based messaging

Table of contents

  • Step 1: Getting Started
  • Step 2: Exploring the app
  • Step 3: Local Development Experience with Microcks
  • Step 4: Write Tests for REST
  • Step 5: Write Tests for Async

License Summary

The code in this repository is made available under the MIT license. See the LICENSE file for details.