The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Go testing-tool Projects
-
Gor
GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
-
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.
-
keploy
Test generation for Developers. Generate tests and stubs for your application that actually work!
-
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.
-
hoverfly
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
-
goutil
💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go 常用的一些工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等
-
testkube
☸️ Kubernetes-native Test Execution and Orchestration framework. It runs all types of tests, including Load Testing, End To End Testing, Front End, API Testing, etc... Integrates directly with you testing stack (K6, Postman, Playwright, Cypress,..)
-
faker
Go (Golang) Fake Data Generator for Struct, previously https://github.com/bxcodec/faker (by go-faker)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I have always liked to use the similar GoConvey tool for automatic test runs during development, but it has definitely started to “show its age” and since Go 1.20 it hasn’t been able to parse code coverage correctly. So, I decided to dive into making my own tool to replace it for me.
Certain checks may be possible with goss and the kgoss wrapper: https://github.com/goss-org/goss/tree/master/extras/kgoss
A huge time-saver for me when generating table-driven test boilerplate in Go has been using gotests[0] to generate the template.
If you use VSCode with the Go extension it's already available there as a command "Go: Generate Unit Tests for Function/Package".
[0] https://github.com/cweill/gotests
October is the month of Open Source and Keploy is taking part in this celebration. You can contribute to several Keploy projects by participating in this year’s Hacktoberfest. You can both contribute to the code part and the no-code part as well. Here are some contributions that you can make!
Project mention: Python-Selenium-Action: Run Selenium with Python via Github Actions using Headless or Non-Headless browsers! | /r/Python | 2023-05-03Selenium is cool but https://gauge.org/ really cuts down on the boilerplate and is a lot more lightweight, may want to give it a look too
Project mention: Release v0.6.10 · gookit/goutil - 💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. | /r/golang | 2023-07-04
Complex objects creation can be put into a utility function, maybe check out https://github.com/go-faker/faker for generating fake data.
Go testing-tools related posts
- How to debug GitHub actions. Real-world example
- Kubernetes-Native Testing Framework – Testkube
- Gokiburi: Automatic Test Runs for Go Projects
- Event-driven Kubernetes testing with Testkube and Tracetest
- Launch HN: Codeparrot (YC W23) – Automated API testing using production traffic
- Code coverage for Go integration tests
- A Golang-based open-source network monitoring tool
-
A note from our sponsor - WorkOS
workos.com | 24 Apr 2024
Index
What are some of the best open-source testing-tool projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Gor | 18,271 |
2 | GoConvey | 8,093 |
3 | goss | 5,441 |
4 | gotests | 4,847 |
5 | ali | 3,632 |
6 | keploy | 3,316 |
7 | Gauge | 2,937 |
8 | pumba | 2,700 |
9 | hoverfly | 2,307 |
10 | goutil | 1,814 |
11 | testkube | 1,191 |
12 | tparse | 850 |
13 | goc | 769 |
14 | grpcox | 691 |
15 | faker | 550 |
16 | gofight | 438 |
17 | request-baskets | 311 |
18 | ooze | 234 |
19 | charlatan | 200 |
20 | govcr | 163 |
21 | go-cmdtest | 161 |
22 | gremlins | 150 |
23 | arch-go | 128 |
Sponsored