Home / Companies / WireMock / Blog / Post Details
Content Deep Dive

Go WireMock with the Testcontainers Go module!

Blog post from WireMock

Post Details
Company
Date Published
Author
Oleg Nenashev
Word Count
1,435
Company Posts That Month
1
Language
English
Hacker News Points
-
Summary

The new WireMock module for Testcontainers Go is an experimental project that integrates the WireMock server into Golang unit tests, providing developers with the ability to use WireMock's Java capabilities in the Golang ecosystem, which is particularly beneficial for cloud-native applications. This module enables the provisioning of WireMock as a standalone container and offers a real-time recording of API mock tests in Golang, demonstrating its efficiency. The project builds on the popularity of Testcontainers, which facilitates integration testing by using lightweight container instances, and aims to enhance Golang developer experiences by leveraging Testcontainers' advanced features like on-demand image builds and support for Docker Compose. The module supports Golang versions 1.17 or above and is compatible with official WireMock Docker images version 2.35.0-1 or higher. Future plans include better integration with WireMock features, especially gRPC support and extension management, and the developers invite feedback and contributions to improve the module.

Trends Found in this Post

No tracked trend matches for this post yet.