Go Test

Open-source Go projects categorized as Test

Top 23 Go Test Projects

  • ginkgo

    A Modern Testing Framework for Go

    Project mention: Writing tests for a Kubernetes Operator | dev.to | 2023-10-07

    Ginkgo: a testing framework based on the concept of ‌"Behavior Driven Development" (BDD)

  • go-backend-clean-architecture

    A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

    Project mention: Finding The Best Go Project Structure | /r/golang | 2023-05-23

    I find this one nice https://github.com/amitshekhariitbhu/go-backend-clean-architecture

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • gotestsum

    'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.

    Project mention: 2023 update to go-recipes collection | /r/golang | 2023-06-06

    auto instrumenting skipping tests, analysing slow tests with gotestsum: https://github.com/gotestyourself/gotestsum

  • venom

    🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions (by ovh)

    Project mention: Ask HN: What's your favorite software testing framework and why? | news.ycombinator.com | 2023-05-21

    You can also load fixtures in database directly, work with Kafka queues both as a producer (e.g. write an event to a Kafka queue, wait a few seconds and see that it was consumed by the service you test, and that some side effects can be observed) or as a consumer (e.g. make sure after an HTTP call, an event was correctly pushed to a queue), or even read a mailbox in IMAP to check that your service correctly send an email.

    It's a bit rough on the edges sometimes, but I'd never go back on writing integration tests directly in my programming language. Declarative is the way to go.

    [1]: https://github.com/ovh/venom

  • tparse

    CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly.

  • richgo

    Enrich `go test` outputs with text decorations.

  • buildbuddy

    BuildBuddy is an open source Bazel build event viewer, result store, remote cache, and remote build execution platform.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • gotest.tools

    A collection of packages to augment the go testing package and support common patterns.

  • gotestfmt

    go test output for humans

    Project mention: Synchronize" a 3D scene across multiple windows using Three.js and localStorage | news.ycombinator.com | 2023-11-27

    Visuals are hard to include because you need to store them somewhere. If you store the in the git repo, they bloat the repo. That's why, for exampley I made a CSS-animated SVG for Gotestfmt[1], as it is text and not binary data. For other projects I host images externally, but that's a bit if an overhead.

    [1] https://github.com/gotesttools/gotestfmt

  • testza

    Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕

  • resolv

    A Simple 2D Golang collision detection and resolution library for games

  • got

    An enjoyable golang test framework. (by ysmood)

  • ooze

    🧬 Go Mutation Testing

    Project mention: Ooze: Mutation Testing Library for Golang | news.ycombinator.com | 2023-06-19
  • go-cmdtest

    This package simplifies testing of command-line interfaces.

  • testcase

    testcase is an opinionated testing framework to support test driven design.

    Project mention: Updates to `testcase` Testing Framework: Enhanced Assertions, Time Manipulation, Random Value Generation and More! | /r/GolangLinks | 2023-06-16
  • wstest

    go websocket client for unit testing of a websocket handler

  • test

    A modern generic testing assertions library for Go (by shoenig)

  • gherkingen

    Behaviour Driven Development tests generator for Golang

  • beekeeper

    Swarm Beekeeper is an orchestrator that can manage a cluster of Bee nodes and call into their API. It allows various scenario’s to be performed on these nodes. The Swarm team uses Beekeeper internally for integration tests.

  • gotrace

    A lib for monitoring runtime goroutine stack (by ysmood)

  • graphql-test-tool

    GraphQL Test Tool for running tests cases against a GraphQL server

  • mockc

    Completely type-safe compile-time mock generator for Go

  • integration

    Integration is a Go tool to run integration tests. (by lucasvmiguel)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-11-27.

Go Test related posts


What are some of the best open-source Test projects in Go? This list will help you:

Project Stars
1 ginkgo 7,900
2 go-backend-clean-architecture 3,628
3 gotestsum 1,889
4 venom 970
5 tparse 839
6 richgo 828
7 buildbuddy 547
8 gotest.tools 490
9 gotestfmt 461
10 testza 416
11 resolv 397
12 got 262
13 ooze 233
14 go-cmdtest 160
15 testcase 116
16 wstest 102
17 test 71
18 gherkingen 68
19 beekeeper 54
20 gotrace 38
21 graphql-test-tool 33
22 mockc 32
23 integration 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives