Description
Microcks is an open-source cloud-native platform for mocking and contract-testing all kinds of APIs. It supports REST OpenAPI, gRPC, GraphQL, Async APIs and SOAP WebServices.
Microcks allows you to work in isolation by cutting dependencies; it can also be used for contract-testing the API you’re developing.
Read more on Microcks.io.
Examples
Dependency:
<dependency>
<groupId>io.github.microcks</groupId>
<artifactId>microcks-testcontainers</artifactId>
<version>0.2.8</version>
<scope>test</scope>
</dependency>
Usage:
var microcks = new MicrocksContainer(DockerImageName.parse("quay.io/microcks/microcks-uber:1.8.0"));
microcks.start();
Dependency:
go get github.com/microcks/microcks-testcontainers-go
Usage:
microcksContainer, err := microcks.RunContainer(ctx, testcontainers.WithImage("quay.io/microcks/microcks-uber:1.8.0"))
Dependency:
npm install @microcks/microcks-testcontainers --save-dev
Usage:
const microcks = await new MicrocksContainer().start();