Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression. Learn more →
Top 23 Go Test Projects
A Modern Testing Framework for GoProject mention: Start test names with “should” (2020) | news.ycombinator.com | 2023-02-12
You obviously are not familiar with the third circle of golang continuous integration hell that is ginkgo+gomega:
It’s actually worse than that example suggests. Stuff like Expect(“type safety”).ShouldBe(GreaterThan(13)) throws runtime errors.
The semantics of parallel test runs weren’t defined anywhere the last time I checked.
Anyway, you’ll be thinking back fondly to the days of TestShouldReplaceChildrenWhenUpdatingInstance because now you need to write nested function calls like:
Context(“instances”, func …)
Describe(“that are being updated”, …)
Expect(“should replace children”, …)
And to invoke that from the command line, you need to write a regex against whatever undocumented and unprinted string it internally concatenates together to uniquely describe the test.
Also, they dump color codes to stdout without checking that they are writing to a terminal, so there will be line noise all over whatever automated test logs you produce, or if you pipe stdout to a file.
Enrich `go test` outputs with text decorations.
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
🐍 Manage and run your integration tests with efficiency - Venom run executors (script, HTTP Request, web, imap, etc... ) and assertions (by ovh)Project mention: Easy Integration Testing with Venom! | dev.to | 2022-11-07
To write and run our integration tests, we'll use Venom. Venom is a tool created and made open-source by OVHcloud: https://github.com/ovh/venom
CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly.Project mention: Go wishlist (2022) by brandur.org | reddit.com/r/golang | 2022-08-13
> Formatted output Can be a library. See: https://github.com/mfridman/tparse for example.
BuildBuddy is an open source Bazel build event viewer, result store, remote caching, and remote build execution platform.Project mention: Launch HN: Moonrepo (YC W23) – Open-source build system | news.ycombinator.com | 2023-02-21
A collection of packages to augment the go testing package and support common patterns.Project mention: How do you do DB preparation in e2e tests? | reddit.com/r/golang | 2022-10-20
Assertion libraries that people seem to love: - testify (my favorite) - go-cmp is a more barebones library - gotest.tools -- I have never used this but some swear by it
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕Project mention: Testza: A full-featured go testing framework with developer-friendly output | reddit.com/r/golang | 2022-04-01
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
go test output for humansProject mention: Why do go tests hide console output by default, and what's the best way to get pretty output like MochaJS? | reddit.com/r/golang | 2022-11-08
To get more pretty outputs, consider Subtests and/or gotestfmt.
An enjoyable golang test framework. (by ysmood)Project mention: An enjoyable golang test framework | reddit.com/r/golang | 2022-04-27
This package simplifies testing of command-line interfaces.Project mention: Golang framework to do e2e test on cli tool ? | reddit.com/r/golang | 2022-07-05
testcase is an opinionated testing framework to support test driven design.Project mention: testing utility for time manipulation and pretty printing | reddit.com/r/golang | 2022-08-12
One of them focuses on time manipulation for testing purposes: - Freeze time to a specific point. - Travel back to a specific time, but allow time to continue moving forward. - Scale time by a given scaling factor will cause the time to move at an accelerated pace. - No dependencies other than the stdlib - Nested calls to timecop.Travel is supported - Works with any regular Go projects
go websocket client for unit testing of a websocket handler
🧬 Go Mutation TestingProject mention: Ooze: Go(lang) Mutation Testing | news.ycombinator.com | 2023-03-08
Behaviour Driven Development tests generator for Golang
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.Project mention: Monthly Development Update — July 2022 | reddit.com/r/ethswarm | 2022-08-05
Released the Beekeeper (v0.11.2).
A modern generic testing assertions library for Go (by shoenig)Project mention: Any major projects using generics? | reddit.com/r/golang | 2022-10-31
https://github.com/shoenig/test is a test case assertions library (like testify) centered around generics
A lib for monitoring runtime goroutine stack (by ysmood)Project mention: A lib for goroutine leak detection | reddit.com/r/golang | 2022-04-01
I see, I created an issue for it: https://github.com/ysmood/gotrace/issues/3
GraphQL Test Tool for running tests cases against a GraphQL server
Completely type-safe compile-time mock generator for Go
fakedb registers a fake database driver named test for... testing. (by stephenafamo)Project mention: Extracted from the standard library: FakeDB | reddit.com/r/golang | 2022-08-05
Simple and colorful test tools (by vcaesar)
Simple tool to ensure the test coverage does not fall below a limitProject mention: Code coverage for Go integration tests | news.ycombinator.com | 2023-03-08
A colleague of mine wrote a tool to make this process a bit simpler: https://github.com/gotesttools/limgo
A simple CLI to show how simply test coverage metrics can be gamed.
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Test related posts
Start test names with “should” (2020)
1 project | news.ycombinator.com | 12 Feb 2023
ginkgo integration with jira/elasticsearch/webex/slack
2 projects | reddit.com/r/golang | 17 Jan 2023
Why do go tests hide console output by default, and what's the best way to get pretty output like MochaJS?
1 project | reddit.com/r/golang | 8 Nov 2022
Easy Integration Testing with Venom!
1 project | dev.to | 7 Nov 2022
Venom: Manage and run your integration tests with efficiency
1 project | news.ycombinator.com | 10 Oct 2022
An enjoyable golang test framework
2 projects | reddit.com/r/golang | 27 Apr 2022
testify vs got
1 project | reddit.com/r/u_y_smood | 25 Apr 2022
A note from our sponsor - InfluxDB
www.influxdata.com | 24 Mar 2023
What are some of the best open-source Test projects in Go? This list will help you: