Documentation

Go

Community Module

These modules are maintained by the community, outside of the Testcontainers project.

Description

Smocker is a simple and efficient HTTP mock server.

Examples

Dependency:
go get github.com/jespino/testcontainers-go-smocker
Usage:
container, err := smocker.RunContainer(context.Background(), testcontainers.WithImage("thiht/smocker:0.18.5"));