Integration Tests in Go with Cucumber, Testcontainers, and HTTPMock

This page summarizes the projects mentioned and recommended in the original post on dev.to

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. godog

    Cucumber for golang

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. testcontainers-go

    Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.

  4. httpmock

    HTTP mocking for Golang

  5. Here you can find the repository with the code: https://github.com/joseboretto/golang-testcontainers-gherkin-setup

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Integration tests with Go and testcontainers

    6 projects | dev.to | 23 Jul 2022
  • how to mock DBs

    13 projects | /r/golang | 30 May 2022
  • How to mock DB for unit tests?

    4 projects | /r/golang | 8 Feb 2021
  • Take it easy with Graphite and Docker 🐳

    2 projects | dev.to | 28 May 2025
  • Using testcontainers to improve performance in integration tests

    2 projects | dev.to | 21 May 2025

Did you know that Go is
the 4th most popular programming language
based on number of references?