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. Learn more →
Gnomock Alternatives
Similar projects and alternatives to gnomock
-
-
InfluxDB
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.
-
-
-
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
-
-
vcr
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
testing-go-code-with-postgres
The example suggests a solution to the problem of cleaning the database after running tests and the problem of running tests in parallel. It also shows how to organize integration testing of Go code with Postgres.
-
assert
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions (by go-playground)
-
-
gq
gq is a lightweight scalable message queue backed by the most popular SQL DBs. Add message queue semantics to your application without integrating extra infrastructure.
-
-
-
-
-
goworker
goworker is a Go-based background worker that runs 10 to 100,000* times faster than Ruby-based workers.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
gnomock discussion
gnomock reviews and mentions
-
How to unit test your database interactions with Docker
https://github.com/orlangure/gnomock does this pretty well, but I liked your solution too, it is neat.
-
Writing tests for APIs
gnomock https://github.com/orlangure/gnomock - like testcontainers
- Python/Django to Golang questions
-
Beginner-friendly resources to learn integration tests for MongoDb based server.
Try gnomock (https://github.com/orlangure/gnomock). It creates a mongodb container with a random port which you can use from your go tests. See project readme for an example (it uses postgres but it is very similar to mongodb).
-
How to mock DB for unit tests?
You could check out Gnomock (https://github.com/orlangure/gnomock). It offers a different approach than what you asked, but maybe it'll suit your use case. It allows to easily setup a real DB like postgres in a docker container and then delete ot when tests are done.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 May 2025
Stats
orlangure/gnomock is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of gnomock is Go.