58 Repositories
Go mock Libraries
Mock all the services. Intuitive YAML DSL for HTTP, gRPC, Kafka, and AMQP mocks.
OpenMock OpenMock is a Go service that can mock services in integration tests, staging environment, or anywhere. The goal is to simplify the process o
Grpcmock - Mock grpc server with golang
grpcmock Mock gRPC server. Inspired by Prism. Add example responses to your prot
Run mock server based off an API contract with one command
Run mock server based off an API contract with one command
Mockserver - Super slim & blazing fast mock server to replace the Java/NPM counterpart mockserver
Gmocker Run a blazing fast mock server in just seconds! 🚀 All you need is to ma
A go server which will respond with data to mock a server!
Mocker A go program which will respond with data to mock a server; mainly useful while developing a frontend application, whose backend is not running
Mock-the-fck - Mock exercise for human
Mock the fck Originally, Mockery-example Example case for mockery issue #128 fil
Vault mock - Mock of Hashicorp Vault used for unit testing
vault_mock Mock of Hashicorp Vault used for unit testing Notice This is a person
CLI tool to mock TCP connections. You can use it with Detox, Cypress or any other framework to automatically mock your backend or database.
Falso It is a CLI that allows you to mock requests/responses between you and any server without any configuration or previous knowledge about how it w
A simple mock server configurable via JSON, built using GoLang.
GoMock Server A simple mock server configurable via JSON, built using GoLang. How To A file name endpoint.json must be placed in the context root, wit
Toy-redis-mock - Experimentation with parsing the redis wire protocol from scratch
Overview Simple app for practicing implementing server-side Redis wire protocol
Free, 11MB, containerized, self-hosted mock server.
Mocktail V2 is here ! Mocktail is completely free, 11mb,self-hosted, containerized mock server with a dashboard. There are no limitations or restricti
For Rollin.Games API Wallet system usage
Table of contents Get Started API Authentication Callback Integration Cryptocurrency Unit Conversion REST API Deposit Wallet API Create Deposit Addres
Mmock is an HTTP mocking application for testing and fast prototyping
Mmock is a testing and fast prototyping tool for developers: Easy and fast HTTP mock server. Download Mmock Create a mock definition. Configure your a
A language agnostic HTTP mock server for quick stub testing
MockItOut Test external services faster and better with an HTTP stub server. MockItOut is a simple to use HTTP stub server. With a small YAML configur
mock server to aid testing the jaguar-java client API
stripe-mock stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's test mode to make test suites
Simple auth service for testing purposes
Auth mock service Simple auth service for testing purposes. Based on https://github.com/stefanprodan/podinfo Credentials: { "username": "username-ro
Library that make mocking of Go functions/methods easy
mockit mockit Notes Usage Argument matcher Capture argument Pausing and restoring a mock Verify a call Update the library Development TODOs Contributi
smtpmock is lightweight configurable multithreaded fake SMTP server written in Go
smtpmock is lightweight configurable multithreaded fake SMTP server written in Go. It meets the minimum requirements specified by RFC 2821 & RFC 5321. Allows to mimic any SMTP server behaviour for your test environment and even more 🚀
A tool that integrates SQL, HTTP,interface,Redis mock
Mockit 目标:将mock变得简单,让代码维护变得容易 分支介绍 main 主分支,覆盖了单元测试 light 轻分支,去除了单元测试,简化了依赖项,方便其他团队使用 常见Mock难点 不同中间件,mock库设计模式不一致,学习代价高,差异化明显 mock方案强依赖服务端,无法灵活解耦 单元测试
Example code to demonstrate how to mock external clients via context.Context
Mocking external client libraries using context.Context This code is paired with a blog post: Mocking external client libraries using context.Context
Simple mock program to set charging rate of a battery instance based on the national grid intensity api
Charger Simple mock program to set charging rate of a battery instance based on the national grid intensity api. Steps to get up and running I have cr
Just Dance Unlimited mock-up server written on Golang and uses a popular Gin framework for Go.
BDCS Just Dance Unlimited mock-up server written on Golang and uses a popular Gin framework for Go. Features Security Authorization works using UbiSer
AWS Mock with using GO SDK V2 middleware
AWS Mock with using GO SDK V2 middleware
Mock API for REST!!!!
Mock API Server Introduction This app allows you to add urls and serve dummy json responses. It contains two handlers, the DummyHandler allows you to
gRPC Test Utilities for Golang
gRPC Test Utilities for Golang Test gRPC service and client like a pro. Prerequisites Go = 1.16 Install go get github.com/nhatthm/grpcmock Usage Invo
A golang application to mock the billing system
mock-billing-cli A golang application to mock the billing system in super markets Features View all items & items with filter Refill items with admin
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
📡 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
A basic lightweight HTTP client for Go with included mock features.
A basic lightweight HTTP client for Go with included mock features. Features Support almost all http method like G
Backend implementation using go, proto3 and gRPC for a mock online store
Backend implementation using go, proto3 and gRPC for a mock online store Ricardo RICO URIBE Tasks I - Order service The current system exposes a produ
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
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
A library to aid unittesting code that uses Golang's Github SDK
go-github-mock A library to aid unittesting code that uses Golang's Github SDK Installation go get github.com/migueleliasweb/go-github-mock Features C
Apple Push Notification service (APNs) mock server
APNs Mock Server Server
支持gRPC/HTTP协议,功能丰富的Mock Server实现
PowerMock 中文 | English PowerMock是一个Mock Server的实现,它同时支持HTTP与gRPC协议接口的Mock,并提供了灵活的插件功能。 这个工具面向于前后端、测试等对有接口Mock需求的开发人员,也可以作为一个通用的Mock服务,部署在网关架构或API管理平台中
Create your own blazing fast mock server with just a JSON file!
Gmocker Run a blazing fast mock server in just seconds! 🚀 All you need is to make a json file that contains path and response mapping. See an example
一个用Go编写的简单通用的Restful API项目,遵循SOLID原则
通用Restful API项目模板 欢迎使用,这是一个用Go编写的简单通用的Restful API项目,遵循SOLID原则。 部分灵感来自于 service-pattern-go 依赖 Gin Gorm Testify (Test & Mock framework) Mockery
Create your own mock server with just a JSON file!
Gmocker Run a blazing fast mock server in just seconds! 🚀 All you need is to make a json file that contains path and response mapping. See an example
Lightweight HTTP mocking in Go (aka golang)
httpmock This library builds on Go's built-in httptest library, adding a more mockable interface that can be used easily with other mocking tools like
Smocker is a simple and efficient HTTP mock server and proxy.
Smocker (server mock) is a simple and efficient HTTP mock server. The documentation is available on smocker.dev. Table of contents Installation With D
A HTTP mole service
httpmole provides a HTTP mock server that will act as a mole among your services, telling you everything http clients send to it and responding them whatever you want it to respond. Just like an actual mole.
manage your mocks / run mockgen more quickly / mocks up-to-date checking
gomockhandler If you find any bugs or have feature requests, please feel free to create an issue. gomockhandler is handler of golang/mock, as the name
Go (Golang) Fake Data Generator for Struct
Docs faker Struct Data Fake Generator Faker will generate you a fake data based on your Struct. Index Support Getting Started Example Limitation Contr
Sharingan(写轮眼)是一个基于golang的流量录制回放工具,适合项目重构、回归测试等。
Sharingan Sharingan,中文名:写轮眼,是漫画《火影忍者》中的一种瞳术,具有复制、幻术等能力,在幻术世界里,一切因素包括时间,地点,质量等,都由施术者掌控。 一、简介 Sharingan是一个基于golang的流量录制回放工具,录制线上真实请求流量进行回放测试,适合项目重构、回归测试
Sharingan(写轮眼)是一个基于golang的流量录制回放工具,适合项目重构、回归测试等。
Sharingan Sharingan,中文名:写轮眼,是漫画《火影忍者》中的一种瞳术,具有复制、幻术等能力,在幻术世界里,一切因素包括时间,地点,质量等,都由施术者掌控。 一、简介 Sharingan是一个基于golang的流量录制回放工具,录制线上真实请求流量进行回放测试,适合项目重构、回归测试
mockery - A mock code autogenerator for Golang
mockery - A mock code autogenerator for Golang
ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format
ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format. This service can then simply be consumed by any client to get the expected response.
A mock code autogenerator for Golang
mockery provides the ability to easily generate mocks for golang interfaces using the stretchr/testify/mock package. It removes the boilerplate coding required to use mocks.
Redis client Mock Provide mock test for redis query
Redis client Mock Provide mock test for redis query, Compatible with github.com/go-redis/redis/v8 Install Confirm that you are using redis.Client the
A test-friendly replacement for golang's time package
timex timex is a test-friendly replacement for the time package. Usage Just replace your time.Now() by a timex.Now() call, etc. Mocking Use timex.Over
Mock object for Go http.ResponseWriter
mockhttp -- Go package for unit testing HTTP serving Unit testing HTTP services written in Go means you need to call their ServeHTTP receiver. For thi
Powerful mock generation tool for Go programming language
Summary Minimock generates mocks out of Go interface declarations. The main features of minimock are: It generates statically typed mocks and helpers.
HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
govcr A Word Of Warning I'm in the process of partly rewriting govcr to offer better support for cassette mutations. This is necessary because when I
GoMock is a mocking framework for the Go programming language.
gomock GoMock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other
HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
gock Versatile HTTP mocking made easy in Go that works with any net/http based stdlib implementation. Heavily inspired by nock. There is also its Pyth
Sql mock driver for golang to test database interactions
Sql driver mock for Golang sqlmock is a mock library implementing sql/driver. Which has one and only purpose - to simulate any sql driver behavior in
Golang HTTP client testing framework
flute Golang HTTP client testing framework Presentation https://speakerdeck.com/szksh/flute-golang-http-client-testing-framework Overview flute is the
Go Interface Mocking Tool
Charlatan Percolate's Go Interface Mocking Tool. Please read our introductory blog post. Installation go get github.com/percolate/charlatan Usage c