Go testing-tools

Open-source Go projects categorized as testing-tools

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.

    Project mention: A Golang-based open-source network monitoring tool | news.ycombinator.com | 2022-12-24
  • GoConvey

    Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

    Project mention: Is there a more detailed test coverage report than go test -cover? | reddit.com/r/golang | 2022-08-01

    IIRC you can use http://goconvey.co/ just for the reports

  • SonarLint

    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.

  • goss

    Quick and Easy server testing/validation

    Project mention: Is docker the right tool for my use case? (testing an installscript) | reddit.com/r/docker | 2023-01-22

    Docker would work. I suggest also integrating infrastructure tests to validate your install script behaved as expected. For example, you could use goss.

  • gotests

    Automatically generate Go test boilerplate from your source code.

    Project mention: Table-driven tests are overrated. | reddit.com/r/golang | 2023-01-17

    I believe vscode does it using gotests (https://github.com/cweill/gotests), so people can probably use it outside of vscode too.

  • ali

    Generate HTTP load and plot the results in real-time

  • Gauge

    Light weight cross-platform test automation

    Project mention: Java Developer, What do you do? | reddit.com/r/developersIndia | 2022-10-24

    Since the project also uses Postgres, Redis, and AMQP, we also write integration tests. A docker compose file is there to stack up the test suite, and before each test, the tables, the keys, and the queues are reset. We don't try to aim to test for all the cases but usually all the controllers are covered. I personally would prefer to write more test cases between multiple micro services (e2e?) using something like Gauge but these integration tests are kind of enough.

  • pumba

    Chaos testing, network emulation, and stress testing tool for containers

    Project mention: Docker networks explained - part 2: docker-compose, microservices, chaos monkey | dev.to | 2022-03-15

    I highly recommend looking at Pumba a project that lets you pause services, kill them, but also add network delay, loss, corruption etc.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • hoverfly

    Lightweight service virtualization/API simulation tool for developers and testers

    Project mention: Review: 10 Top API Mock Tools | dev.to | 2022-12-27

    Hoverfly is an open-source tool for mocking and simulating APIs. It is relatively easy to use and has a wide range of features for mocking and simulating APIs, including support for importing and exporting mock configurations, generating random data for responses, and setting up conditional responses based on the contents of incoming requests.

  • keploy

    Testing for Developers. Toolkit that creates test-cases and data mocks from API calls, DB queries, etc.

    Project mention: Test generating tools - future of test automation? | reddit.com/r/webdev | 2022-12-21

    I recently discovered Keploy (https://github.com/keploy/keploy) and was really impressed by its promise that it can generate API tests with code coverage by itself just by recording API calls and mocking everything that goes outside of the application - including calls to external API endpoints and the database. It seems like a super useful tool and potentially a game changer, especially now that GPT is starting another wave of automation.

  • gotestsum

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

    Project mention: Which Tools Do You use daily for Golang development? | reddit.com/r/golang | 2023-01-23

    gotestsum for watching the filesystem and run tests on save.

  • tparse

    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.

  • testkube

    ☸️ Kubernetes-native testing framework for test execution and orchestration

    Project mention: Are monolith CI/CD pipelines killing the quality of your software? | dev.to | 2022-11-28

    For tips from other DevOps and GitOps enthusiasts, check out our active Discord or find our entire open source project on GitHub! We’re also on Twitter (@testkube_io), where we’re always sharing the latest news in our journey to become the most complete and beloved Kubernetes-native testing framework.

  • goc

    A Comprehensive Coverage Testing System for The Go Programming Language

  • grpcox

    Like Postman, but for gRPC: web based GUI client for gRPC Development Testing

    Project mention: Go and gRPC is just so intuitive. Here's a detailed full-stack flow with gRPC-Web, Go and React. Also, there is a medium story focused on explaining how such a setup might boost efficiency and the step-by-step implementation. | reddit.com/r/golang | 2022-02-12
  • gofight

    Testing API Handler written in Golang.

  • faker

    Go (Golang) Fake Data Generator for Struct, previously https://github.com/bxcodec/faker (by go-faker)

    Project mention: Projects for landing a Golang job | reddit.com/r/golang | 2022-11-02

    Nice job! A while back, I bumped into https://github.com/go-faker/faker, which got integrated into https://benthos.dev for fake data generation. What were the design considerations when you started gofakeit? Does it have any niche features which faker doesn't provide or is there anything you'd like to see added to it? I'll give it a spin later to explore the API a bit.

  • request-baskets

    HTTP requests collector to test webhooks, notifications, REST clients and more ...

    Project mention: Self-hosted beeceptor alternative | reddit.com/r/selfhosted | 2023-01-27
  • govcr

    HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing

  • go-cmdtest

    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

    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

  • gremlins

    A mutation testing tool for Go.

    Project mention: Gremlins v0.3 release - With up to 350% performance improvement | reddit.com/r/gogremlins | 2022-08-17
  • assertions

    Fluent assertion-style functions used by goconvey and gunit. Can also be used in any test or application.

  • go-smtp-mock

    SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.

  • 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-01-27.

Go testing-tools related posts

Index

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

Project Stars
1 Gor 16,813
2 GoConvey 7,588
3 goss 5,048
4 gotests 4,425
5 ali 3,384
6 Gauge 2,782
7 pumba 2,440
8 hoverfly 1,970
9 keploy 1,512
10 gotestsum 1,304
11 tparse 673
12 testkube 636
13 goc 617
14 grpcox 604
15 gofight 428
16 faker 211
17 request-baskets 202
18 govcr 141
19 go-cmdtest 137
20 testcase 105
21 gremlins 83
22 assertions 82
23 go-smtp-mock 67
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com