For AI agents: the complete documentation index is available at llms.txt; every page is also available as Markdown by appending .md to its URL.
Skip to main content

Testcontainers Modules

Introductionโ€‹

As introduced in our Developing with Testcontainers guide, you can be embed Microcks into your unit tests with the help of Testcontainers librairies. We provide support for the following languages in dedicated Testcontainers modules: Java, NodeJS / Typescript, Golang and .NET.

In addition, a community-maintained module for Python ๐Ÿ is emerging with broad feature coverage. It's not yet part of the official Microcks organization, so it is tracked separately in the Community modules section below rather than in the matrices that follow. It may be promoted to an official module in the future as it matures.

We try to setup and manage a unified roadmap between modules but because they are maintained by different contributors, drifts between implementations may happen at some points. Our goal is obviously to make them consistent eventually.

This page lists the implementation status of various features by the different modules on July 21st, 2025. It will be updated regularly.

๐Ÿ’ก Of course, we welcome external contributions! So, if you're in a hurry and need a missing feature, don't hesitate to propose a change and to submit a Pull Request on the associated GitHub repository ๐Ÿ™

Initializationโ€‹

This section lists the features related to Microcks initialization during the preparation of setup phase of tests.

FeatureJavaJSGo.NET
Secret creationโœ…โœ…โœ…โœ…
Snapshot restorationโœ…โœ…โœ…โœ…
Local files (primary)โœ…โœ…โœ…โœ…
Local files (secondary)โœ…โœ…โœ…โœ…
Remote urls (primary)โœ…โœ…โœ…โœ…
Remote urls (secondary)โœ…โœ…โœ…โœ…
Remote urls with Secretโœ…โœ…โœ…โœ…

Mocking featuresโ€‹

This sections lists the features related to the mocking part of Microcks (getting endpoints, checking invocations).

FeatureJavaJSGo.NET
REST endpointsโœ…โœ…โœ…โœ…
Soap endpointsโœ…โœ…โœ…โœ…
GraphQL endpointsโœ…โœ…โœ…โœ…
gRPC endpointsโœ…โœ…โœ…โœ…
Invocation verificationโœ…โœ…โœ…โœ…
Get invocation statsโœ…โœ…โœ…โœ…
Webhook callback registrationโœ…โŒโœ…โŒ

Testing featuresโ€‹

This sections lists the features related to the testing part of Microcks (executing conformance tests, checking responses/messages).

FeatureJavaJSGo.NET
OpenAPI conformanceโœ…โœ…โœ…โœ…
Soap conformanceโœ…โœ…โœ…โœ…
GraphQL conformanceโœ…โœ…โœ…โœ…
gRPC conformanceโœ…โœ…โœ…โœ…
Postman conformanceโœ…โœ…โœ…โœ…
AsyncAPI conformanceโœ…โœ…โœ…โœ…
Get TestCase messagesโœ…โœ…โœ…โœ…

Asynchronous protocolsโ€‹

This sections lists the async protocols available on each language binding.

ProtocolJavaJSGo.NET
Kafkaโœ…โœ…โœ…โœ…
WebSocketโœ…โœ…โŒโœ…
MQTTโœ…โœ…โœ…โŒ
RabbitMQ (AMQP 0.9)โœ…โœ…โœ…โœ…
NATSโŒโŒโŒโŒ
AWS SQSโœ…โœ…โœ…โŒ
AWS SNSโœ…โœ…โœ…โŒ
Google PubSubโœ…โœ…โœ…โŒ

Community modulesโ€‹

The modules listed in the matrices above are maintained within the official Microcks organization. The community is also building bindings for additional languages that are not (yet) official but may be promoted in the future as they mature.

Python ๐Ÿโ€‹

A community-maintained module is available at Caesarsage/microcks-testcontainers-python. It's not yet published on PyPI, but it already provides a remarkably complete feature set โ€” including a Microcks ensemble (with Postman and Async Minion containers), secrets, OAuth2-secured endpoint testing and all asynchronous connection types except NATS.

See the Community modules part of the Developing with Testcontainers guide for installation and usage. The feature coverage below was assessed from the module source on May 31st, 2026 โ€” as it stabilizes, it may be folded into the matrices above.

Initialization

FeaturePython
Secret creationโœ…
Snapshot restorationโœ…
Local files (primary)โœ…
Local files (secondary)โœ…
Remote urls (primary)โœ…
Remote urls (secondary)โœ…
Remote urls with Secretโœ…
Enable DEBUG log levelโœ…

Mocking features

FeaturePython
REST endpointsโœ…
Soap endpointsโœ…
GraphQL endpointsโœ…
gRPC endpointsโœ…
Invocation verificationโœ…
Get invocation statsโœ…

Testing features

FeaturePython
OpenAPI conformanceโœ…
Soap conformanceโœ…
GraphQL conformanceโœ…
gRPC conformanceโœ…
Postman conformanceโœ…
AsyncAPI conformanceโœ…
Get TestCase messagesโœ…

Asynchronous protocols

ProtocolPython
Kafkaโœ…
WebSocketโœ…
MQTTโœ…
RabbitMQ (AMQP 0.9)โœ…
NATSโŒ
AWS SQSโœ…
AWS SNSโœ…
Google PubSubโœ…

This module is in active development โ€” trying it out, reporting issues, and starring the repository โญ are all great ways to help it reach official-module status. Contributions are very welcome! ๐Ÿ™Œ