342 Resources
Golang testing Libraries
Coala-cli-tester: a tool for testing infrastructure of Keenetic Cloud
coala-cli-tester coala-cli-tester is a tool for testing infrastructure of Keenetic Cloud Build go build -ldflags="-s -w" -o ./coala-cli-tester ./*.go
gRPC dummy service for testing purpose.
gRPC example Pre-requisite Protocol buffer installation $: brew install protobuf $: protoc --version # Ensure compiler version is 3+ Server go Gener
A Godot Unit Test Framework
GdUnit3 A Godot Integrated Unit Testing Framework What is GdUnit3 GdUnit3 is a framework for testing GdScrips and Scenes within the Godot editor. GdUn
Godot Unit Test. Unit testing tool for Godot Game Engine.
Gut 7.2.0 GUT (Godot Unit Test) is a unit testing framework for the Godot Engine. It allows you to write tests for your gdscript in gdscript. Donate/S
In-memory SQL engine in Go sql/driver for testing purpose
RamSQL Disposable SQL engine RamSQL has been written to be used in your project's test suite. Unit testing in Go is simple, create a foo_test.go impor
Simple test driven approach in "GOLANG"
Testing in GOLANG Usage Only test go test -v Coverage go test -cover or go test -coverprofile=coverage.out go tool cover -html=coverage.out Benchmark
Simple Go/Chi powered http server meant for ad hoc use such as exposing a file system for testing HTML.
httphere httphere is a simple Go/Chi powered http server for ad hoc use such as testing HTML or temporarily exposing a local file system at the curren
Record and replay a go net.Conn, mosting for testing.
fakeconn Record and replay a go net.Conn, mostly for testing and debugging. This package isn't finished, so you probably shouldn't use it. Recording f
Fake server, Consumer Driven Contracts and help with testing performance from one configuration file with zero system dependencies and no coding whatsoever
mockingjay server Mockingjay lets you define the contract between a consumer and producer and with just a configuration file you get: A fast to launch
🛠 A test fixtures replacement for Go, support struct and ent, inspired by factory_bot/factory_boy
carrier - A Test Fixtures Replacement for Go Statically Typed - 100% statically typed using code generation Developer Friendly API - explicit API with
This program performs stress testing for the Cosmos module
Cosmos Modules Testing Program 🔧 Overview This program performs stress testing for the Cosmos module. Support: Liquidity , IBC transfer Note: Require
💥Performance testing tool (Go)
ptg Performance testing tool (Go), It is also a GUI gRPC client. Test the gRPC service like postman. Features Cli performance test support. GUI suppor
Hassle-free REST API testing for Go
melatonin melatonin is a fluent, flexible REST API testing library for Go. It provides many of the benefits of a domain-specific test language but wit
A Golang library for testing infrastructure in automated ways.
Infratest Infratest is a Golang library that we hope makes testing your infrastructure using tests that are written in Golang easier to do. The genera
Shared counter (with max limit) for k6 load testing tool
xk6-increment This is a k6 extension using the xk6 system. ❗ This is a proof of concept, isn't supported by the k6 team, and may break in the future.
Simple script fro DNS upload testing. Written in Go.
BENCH DNS Simple script fro DNS upload testing. Written in Go. Features Using local domain list file with -file argument Download from URL and then us
Interface mocking tool for go generate
Interface mocking tool for go generate. What is Moq? Moq is a tool that generates a struct from any interface. The struct can be used in test code as
Canonicity testing library
What are canonical tests? That's when instead of comparing the expected and actual values in code: assert.Equal(t, expected, actual) You instead asser
Sandbox for developing and testing UI components in isolation
React Cosmos Sandbox for developing and testing UI components in isolation. Visual TDD. Develop one component at a time. Isolate the UI you're working
Go Unit Testing Clean Arch
Golang Unit Testing Tutorial melakukan unit testing di Golang yang sudah menerapkan clean architecture Menjalankan Service PSQL_HOST=IP Database Serv
HTTP API traffic recording and replay middleware based on GoReplay, can be used for migration and refactoring testing
gorc HTTP API traffic recording and replay middleware based on GoReplay, can be used for migration and refactoring testing. English | 中文 Requirements
Template repository for testing CLI features of applications written in Go
Go CLI testing example This repository provides a template on how to create a testable CLI applications in Go language. As an example, this applicatio
Simple SMTP Server for Testing
go-smtptester Simple SMTP Server for Testing. How it works All received mails are saved in a sync.Map with a key: From+Recipient1+Recipient2 Mails to
K6 extension that adds support for browser automation and end-to-end web testing using playwright-go
k6 extension that adds support for browser automation and end-to-end web testing using playwright-go
Testing local and remote shell commands in Go
Testing local and remote shell commands in Go. This is an (intentionally simplified) example of how unix shell commands can be unit-tested in Go. The
Testing the use of a golang wrapper around UserMode Linux for making stdin
This code is for testing the use of a golang wrapper around UserMode Linux for making stdin, stdout and stderr available to attach, detach and reattach to from the host using Unix sockets.
Performance-focused HTTP benchmarking tool written in Go
💥 gocannon - HTTP benchmarking tool Gocannon is a lightweight HTTP benchmarking tool, intended to measure changes in backend application performance
Kubernetes-native framework for test definition and execution
████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████
Frisbee is a Kubernetes-native platform for exploring, testing, and benchmarking distributed applications.
Why Frisbee ? Frisbee is a next generation platform designed to unify chaos testing and perfomance benchmarking. We address the key pain points develo
t is a command line tool for testing on your terminal.
t t is a command line tool for testing on your terminal. Installation $ go get github.com/yusukebe/t/cmd/t Usage Basic usage: $ t hello hello # = PA
CDK - Zero Dependency Container Penetration Toolkit
CDK is an open-sourced container penetration toolkit, offering stable exploitation in different slimmed containers without any OS dependency. It comes with penetration tools and many powerful PoCs/EXPs helps you to escape container and takeover K8s cluster easily.
An OOB interaction gathering server and client library
Interactsh An OOB interaction gathering server and client library Features • Usage • Interactsh Client • Interactsh Server • Interactsh Integration •
An example repo for RESTful API with swagger docs & unit testing
go REST API An example repo for RESTful API with swagger docs & unit testing Starting development server Copy .env.example to .env in the same directo
Example basic fundamental testing in golang
Golang Fundamental Testing Example write basic fundamental testing in Golang Installation $ go mod download || go get . Implementation Case 01_testing
Toxiproxy - A TCP proxy to simulate network and system conditions for chaos and resiliency testing
Toxiproxy is a framework for simulating network conditions. It's made specifically to work in testing, CI and development environments, supp
A basic debugging server used when testing deployments
debug-server A basic debugging server used when testing deployments Development Start Server make Build This builds a Docker image with the commit has
Coding along the book
Learn Go with Tests Art by Denise Formats Gitbook EPUB or PDF Translations 中文 Português 日本語 한국어 Türkçe Support me I am proud to offer this resource fo
Ditto is a CLI testing tool that helps you verify if multiple HTTP endpoints have the same outputs.
Ditto is a CLI testing tool that helps you verify if multiple HTTP endpoints have the same outputs.
siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.
siusiu (suite-suite harmonics) a suite used to manage the suite, designed to free penetration testing engineers from learning and using various security tools, reducing the time and effort spent by penetration testing engineers on installing tools, remembering how to use tools.
Some examples of testing techniques and commonly used frameworks
golang-test-examples Some examples of testing techniques and commonly used frameworks Test frameworks Testify Ginkgo Convey godog (cucumber) Test exam
HttpRunner+ is the next generation of HttpRunner, written in golang
hrp (HttpRunner+) hrp is a golang implementation of HttpRunner. Ideally, hrp will be fully compatible with HttpRunner, including testcase format and u
WebRTC media servers stress testing tool (currently only Janus)
GHODRAT WebRTC media servers stress testing tool (currently only Janus) Architecture Janus media-server under load Deployment ghodrat # update or crea
Simple Golang Load testing app built on top of vegeta
LOVE AND WAR : Give Your App Love By Unleashing War Simple load testing app to test your http services Installation Build docker image: docker build -
A mock of Go's net package for unit/integration testing
netmock: Simulate Go network connections netmock is a Go package for simulating net connections, including delays and disconnects. This is work in pro
a quick golang implementation of google pubsub subscriber for testing with the emulator.
gosub a quick golang implementation of google pubsub subscriber for testing with the emulator. it does one thing which is subscribing to a topic and r
📡 mock is a simple, cross-platform, cli app to simulate HTTP-based APIs.
mock 📡 mock is a simple, cross-platform, cli app to simulate HTTP-based APIs. About mock Mock allows you to spin up a local http server based of a .m
Package truthy provides truthy condition testing with Go generics
Package truthy provides truthy condition testing with Go generics
Package truthy provides truthy condition testing with Go generics
Truthy Truthy is a package which uses generics (Go 1.18+) to create useful boolean tests and helper functions. Examples // truthy.Value returns the tr
A Golang REST API to handle users and posts for a simple instagram backend. Uses MongoDB as the database. Tested using golang-testing and Postman.
A Golang REST API to handle users and posts for a simple instagram backend. Uses MongoDB as the database. Tested using golang-testing and Postman.
Testing message queues with RabbitMQ
Rabbit-MessageQueue Just a repository of RabbitMQ simple usage for queueing messages. You can use this as a sender or a receiver. More information is
Using the Golang search the Marvel Characters. This project is a web based golang application that shows the information of superheroes using Marvel api.
marvel-universe-web using the Golang search the Marvel Universe Characters About The Project This project is a web based golang application that shows
kdigger is a context discovery tool for Kubernetes penetration testing.
kdigger kdigger, short for "Kubernetes digger", is a context discovery tool for Kubernetes penetration testing. This tool is a compilation of various
A CLI tool for get meta infomation, for SEO, Testing , etc
What is meta-curl ? meta-curl is a CLI tool for get meta infomation, for SEO, Testing , etc. This can be used like curl CLI command. How to Use(wip) G
espresso - a framework for testing BigQuery queries
espresso - a framework for testing BigQuery queries Goals Componentization: compose complex queries from smaller, reusable components Test driven deve
An Elasticsearch Migration Tool.
An Elasticsearch Migration Tool Elasticsearch cross version data migration. Dec 3rd, 2020: [EN] Cross version Elasticsearch data migration with ESM Fe
Demo repository for Infrastructure as Code testing tools and frameworks.
Testing Infrastructure as Code Demo repository for Infrastructure as Code testing tools and frameworks. Maintainer M.-Leander Reimer (@lreimer), mario
Trying to build an Ecommerce Microservice in Golang and Will try to make it Cloud Native - Learning Example extending the project of Nic Jackson
Golang Server Project Best Practices Dependency Injection :- In simple words, we want our functions and packages to receive the objects they depend on
Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.
Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.
Rest API for todoapp written in Golang, using clean architecture, CI/CD
todoapp-backend Rest API for todoapp written in Golang, using Clean Architecture and CI/CD (includes unit tests and integration tests). Using: Web fra
Merge Mock - testing tool for the Ethereum Merge
MergeMock Experimental debug tooling, mocking the execution engine and consensus node for testing. work in progress Quick Start To get started, build
Yet another Go package for working with *.golden test files, with a focus on simplicity.
go-golden Yet another Go package for working with *.golden test files, with a focus on simplicity. Import import "github.com/jimeh/go-golden" Usage fu
Ddosify - High-performance load testing tool
Ddosify - High-performance load testing tool Features ✔️ Protocol Agnostic - Currently supporting HTTP, HTTPS, HTTP/2. Other protocols are on the way.
Library for testing interactive Slack applications.
Slackster Library for testing interactive Slack applications. Mock Slack API: user info, post and update message, publish view. Testing Slack UI in th
Awesome WebSocket CLient - an interactive command line client for testing websocket servers
Awesome WebSocket CLient - an interactive command line client for testing websocket servers
This repo is for early testing of GoFBP ideas and trial balloons!
gofbp This repo holds the beginning of an FBP implementation in Go Features include: delayed start of goroutines (FBP processes), unless MustRun attri
Kubernetes IN Docker - local clusters for testing Kubernetes
kind is a tool for running local Kubernetes clusters using Docker container "nodes".
Golang Integration Testing Framework For Kong Kubernetes APIs and Controllers.
Kong Kubernetes Testing Framework (KTF) Testing framework used by the Kong Kubernetes Team for the Kong Kubernetes Ingress Controller (KIC). Requireme
A collection of authentication Go packages related to OIDC, JWKs and Distributed Claims.
cap (collection of authentication packages) provides a collection of related packages which enable support for OIDC, JWT Verification and Distributed Claims.
KinK is a helper CLI that facilitates to manage KinD clusters as Kubernetes pods. Designed to ease clusters up for fast testing with batteries included in mind.
kink A helper CLI that facilitates to manage KinD clusters as Kubernetes pods. Table of Contents kink (KinD in Kubernetes) Introduction How it works ?
Database testing made easy in Go.
dbtest Database testing made easy in Go. Features Declarative Define the minimum test specification in a YAML-based DSL, then all tests can be generat
Completely type-safe compile-time mock generator for Go
Mockc Mockc is a completely type-safe compile-time mock generator for Go. You can use it just by writing the mock generators with mockc.Implement() or
the simplest testing framework for Kubernetes controller.
KET(Kind E2e Test framework) KET is the simplest testing framework for Kubernetes controller. KET is available as open source software, and we look fo
A go library for testing Amazon DynamoDB.
minidyn Amazon DynamoDB testing library written in Go. Goals Make local testing for DynamoDB as accurate as possible. Run DynamoDB tests in a CI witho
Test and benchmark KPHP code
Overview ktest is a tool that makes kphp programs easier to test. ktest phpunit can run PHPUnit tests using KPHP ktest bench run benchmarks using KPHP
Fixtures for testing standard IPLD codecs
IPLD Codec Fixtures This repository contains fixtures for standard IPLD codecs. It is used to verify the correctness, compatibility and limitations of
kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by to NSA and CISA
Kubescape is the first tool for testing if Kubernetes is deployed securely as defined in Kubernetes Hardening Guidance by to NSA and CISA Tests are configured with YAML files, making this tool easy to update as test specifications evolve.
Flagr is an open source Go service that delivers the right experience to the right entity and monitors the impact.
Flagr is an open source Go service that delivers the right experience to the right entity and monitors the impact. It provides feature flags, experimentation (A/B testing), and dynamic configuration. It has clear swagger REST APIs for flags management and flag evaluation.
Infrastructure testing helper for AWS Resources that uses AWS SSM to remotely execute commands on EC2 machines.
Infrastructure testing helper for AWS Resources that uses AWS SSM to remotely execute commands on EC2 machines, to enable infrastructure engineering teams to write tests that validate behaviour.
ctrsploit: A penetration toolkit for container environment
ctrsploit: A penetration toolkit for container environment
A penetration toolkit for container environment
ctrsploit: A penetration toolkit for container environment 中文文档 Pre-Built Release https://github.com/ctrsploit/ctrsploit/releases Usage Quick-Start wg
A function for chaos testing with OpenFaaS
chaos-fn A function for chaos testing with OpenFaaS Use-cases Test retries on certain HTTP codes Test timeouts Test certain lengths of HTTP request bo
A vulnerable graphQL application, for testing purposes
Vulnerable-GoQL Vulnerable-GoQL is an web API which implements main security breach.
Robust framework for running complex workload scenarios in isolation, using Go; for integration, e2e tests, benchmarks and more! 💪
e2e Go Module providing robust framework for running complex workload scenarios in isolation, using Go and Docker. For integration, e2e tests, benchma
Small utility to allow simpler, quicker testing of parsing files in crowdsec
cs_parser_test Small utility to allow simpler, quicker testing of parsing files in crowdsec Usage $ sudo cs_parser_test -t syslog /var/log/mail.log N
🐺 Deploy Databases and Services Easily for Development and Testing Pipelines.
Peanut provides an API and a command line tool to deploy and configure the commonly used services like databases, message brokers, graphing tools ... etc. It perfectly suited for development, manual testing, automated testing pipelines where mocking is not possible and test drives.
Full-featured test framework for Go! Assertions, mocking, input testing, output capturing, and much more! 🍕
testza 🍕 Testza is like pizza for Go - you could life without it, but why should you? Get The Module | Documentation | Contributing | Code of Conduct
Demo project for unit testing presentation @ GoJKT meetup
go-demo-service Demo project for unit testing presentation @ GoJKT meetup This is a demo project to show examples of unit testing for GoJKT meetup Use
Hsuan-Fuzz: REST API Fuzzing by Coverage Level Guided Blackbox Testing
Hsuan-Fuzz: REST API Fuzzing by Coverage Level Guided Blackbox Testing Architecture Usage package main import ( restAPI "github.com/iasthc/hsuan-
全新的开源漏洞测试框架,实现poc在线编辑、运行、批量测试。使用文档:
pocassist是一个 Golang 编写的全新开源漏洞测试框架。 简单易用 只需要在前端编辑,即可生成poc对批量目标进行测试 单二进制文件,无依赖,也无需安装 性能优秀 支持高并发,通过使用 ants实例化协程池,复用 goroutine 多重内存复用,尽可能小的内存占用 规则体系 完全兼容x
Concurrency in Go video course with in depth explanations & examples
Concurrency in Go Summary Coding Examples Introduction to Concurrency Go Routines Channels Select Concurrency Patterns Atomics Wait Groups - sync.Wait
Aceptadora provides the boilerplate to orchestrate the containers for an acceptance test.
aceptadora Aceptadora provides the boilerplate to orchestrate the containers for an acceptance test. Aceptadora is a replacement for docker-compose in
Community edition nuclei templates, a simple tool that allows you to organize all the Nuclei templates offered by the community in one place
cent Community edition nuclei templates, a simple tool that allows you to organize all the Nuclei templates offered by the community in one place Inst
Take a list of domains and scan for endpoints, secrets, api keys, file extensions, tokens and more...
Take a list of domains and scan for endpoints, secrets, api keys, file extensions, tokens and more... Coded with 💙 by edoardottt. Share on Twitter! P
一个用Go编写的简单通用的Restful API项目,遵循SOLID原则
通用Restful API项目模板 欢迎使用,这是一个用Go编写的简单通用的Restful API项目,遵循SOLID原则。 部分灵感来自于 service-pattern-go 依赖 Gin Gorm Testify (Test & Mock framework) Mockery
BDIX Tester is a small CLI application for testing connectivity BDIX connected servers
BDIX Tester is a small CLI application for testing connectivity BDIX connected servers. It's primary purpose is to check whether a BDIX connected server is accessible from your current ISP or not.
Go Supertest is minimalize HTTP Client Testing only for Gin Framework
Go Supertest is minimalize HTTP Client Testing only for Gin Framework, inspired by Supertest package library HTTP Client Testing for Express.js Framework.
Dynamic Application Security Testing (DAST) for Cloud
Dynamic Application Security Testing (DAST) for Cloud Probr analyzes the complex behaviours and interactions in your cloud resources to enable enginee