Testing

smartystreets/goconvey

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

Stars2468
Contributors56
Forks200
Watchers101
Issues62

stretchr/testify

A sacred extension to the standard go testing package

Stars2432
Contributors82
Forks281
Watchers68
Issues53

dvyukov/go-fuzz

Randomized testing for Go

Stars1556
Contributors46
Forks84
Watchers72
Issues18

onsi/ginkgo

BDD Testing Framework for Go

Stars1241
Contributors48
Forks127
Watchers54
Issues36

axw/gocov

Coverage testing tool for The Go Programming Language

Stars435
Contributors17
Forks45
Watchers19
Issues7

golang/mock

GoMock is a mocking framework for the Go programming language.

Stars434
Contributors7
Forks56
Watchers23
Issues25

onsi/gomega

Ginkgo's Preferred Matcher Library

Stars402
Contributors47
Forks79
Watchers15
Issues17

franela/goblin

Minimal and Beautiful Go testing framework

Stars338
Contributors6
Forks24
Watchers11
Issues9

DATA-DOG/go-sqlmock

Sql mock driver for golang to test database interactions

Stars320
Contributors10
Forks45
Watchers13
Issues1

alicebob/miniredis

Pure Go Redis server for Go unittests

Stars300
Contributors4
Forks13
Watchers10
Issues0

sclevine/agouti

A WebDriver client and acceptance testing library for Go

Stars274
Contributors14
Forks31
Watchers11
Issues20

google/gofuzz

Fuzz testing for go.

Stars258
Contributors6
Forks23
Watchers14
Issues3

h2non/gock

Versatile HTTP mocking and expectations made simple in Go (golang) ༼ʘ̚ل͜ʘ̚༽

Stars245
Contributors3
Forks5
Watchers7
Issues0

h2non/baloo

Expressive end-to-end HTTP API testing made easy in Go (golang)

Stars232
Contributors2
Forks8
Watchers5
Issues5

jarcoal/httpmock

HTTP mocking for Golang

Stars183
Contributors4
Forks23
Watchers6
Issues13

verdverm/frisby

API testing framework inspired by frisby-js

Stars166
Contributors4
Forks9
Watchers5
Issues9

zimmski/tavor

A generic fuzzing and delta-debugging framework

Stars150
Contributors2
Forks5
Watchers11
Issues48

msoap/go-carpet

go-carpet - show test coverage for Go source files

Stars150
Contributors2
Forks2
Watchers5
Issues0

drewolson/testflight

Painless http testing in Go

Stars138
Contributors4
Forks12
Watchers3
Issues0

bmizerany/assert

Asserts to Go testing

Stars133
Contributors4
Forks36
Watchers3
Issues6

remogatto/prettytest

A simple testing library for Go

Stars128
Contributors8
Forks13
Watchers4
Issues3

DATA-DOG/godog

Cucumber for golang

Stars112
Contributors9
Forks15
Watchers10
Issues2

benbjohnson/clock

Clock is a small library for mocking time in Go.

Stars110
Contributors3
Forks18
Watchers6
Issues4

orfjackal/gospec

Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED]

Stars109
Contributors1
Forks17
Watchers4
Issues4

maxbrunsfeld/counterfeiter

A tool for generating self-contained, type-safe test doubles in go

Stars108
Contributors14
Forks20
Watchers8
Issues17

manveru/faker

generate fake data in go

Stars108
Contributors5
Forks16
Watchers5
Issues2

goware/httpmock

HTTP mocking in Go made easy

Stars105
Contributors1
Forks1
Watchers5
Issues1

dnaeon/go-vcr

Record and replay your HTTP interactions for fast, deterministic and accurate tests

Stars105
Contributors6
Forks7
Watchers7
Issues1

azer/mao

Pragmatic BDD Testing Framework For Go

Stars89
Contributors3
Forks4
Watchers0
Issues0

emicklei/forest

REST Api Testing package for writing integration tests in Go

Stars84
Contributors1
Forks5
Watchers3
Issues0

bluele/factory-go

A test fixtures replacement inspired by factory_boy and factory_girl.

Stars82
Contributors2
Forks2
Watchers4
Issues1

xdg/testy

Testy is an extensible facade around Go's core testing library

Stars78
Contributors1
Forks1
Watchers3
Issues0

r7kamura/gospel

BDD-style testing library for Golang

Stars71
Contributors3
Forks2
Watchers5
Issues0

go-testfixtures/testfixtures

Rails-like test fixtures for Go. Write tests against a real database.

Stars70
Contributors2
Forks1
Watchers3
Issues0

appleboy/gofight

Testing API Handler written in Golang.

Stars69
Contributors3
Forks2
Watchers5
Issues2

modocache/gory

Factories for your Go structs. Think factory_girl.

Stars68
Contributors1
Forks0
Watchers3
Issues0

stesla/gospecify

A BDD library for Go

Stars51
Contributors1
Forks5
Watchers5
Issues1

guregu/mogi

fancy sql stubs

Stars49
Contributors1
Forks1
Watchers3
Issues5

orchestrate-io/dvr

A golang library for recording and replaying HTTP calls during testing.

Stars47
Contributors3
Forks6
Watchers2
Issues5

pranavraja/zen

BDD testing framework for Go

Stars43
Contributors4
Forks4
Watchers2
Issues0

gbbr/mocks

Tiny collection of mocks for faking a network connection in Go

Stars43
Contributors1
Forks0
Watchers1
Issues0

rafaeljusto/redigomock

Easy way to unit test projects using redigo library (Redis client in go)

Stars38
Contributors6
Forks13
Watchers1
Issues0

NeowayLabs/wabbit

Golang AMQP mocking library

Stars38
Contributors2
Forks3
Watchers8
Issues0

go-restit/restit

A Go library help testing your RESTful API application

Stars31
Contributors2
Forks0
Watchers4
Issues4

thejerf/abtime

A library for abstracting away from the literal Go time library, for testing and time control.

Stars24
Contributors1
Forks3
Watchers2
Issues1

yookoala/restit

A Go micro framework to help writing RESTful API integration test

Stars24
Contributors2
Forks0
Watchers2
Issues0

101loops/clock

Go package to return the time; and mock it

Stars23
Contributors3
Forks5
Watchers2
Issues0

rdrdr/hamcrest

Hamcrest matchers for the Go programming language

Stars23
Contributors2
Forks2
Watchers3
Issues1

maraino/go-mock

A mocking framework for the Go Programming Language.

Stars21
Contributors3
Forks4
Watchers2
Issues1

tv42/mockhttp

Mock object for Go http.ResponseWriter

Stars19
Contributors1
Forks4
Watchers1
Issues0

otiai10/mint

The very minimum assertion for Golang testing framework.

Stars18
Contributors1
Forks0
Watchers1
Issues1

coocood/assrt

Assert library for Go

Stars17
Contributors1
Forks1
Watchers3
Issues0

DATA-DOG/go-txdb

Single transaction sql driver for golang

Stars16
Contributors1
Forks0
Watchers13
Issues0

tenntenn/gae-go-testing

Testing library for Go App Engine, giving you an appengine.Context fake that forwards to a dev_appserver.py child process.

Stars14
Contributors2
Forks14
Watchers3
Issues2

justinas/plate

A testing helper for Go's HTML templates.

Stars12
Contributors2
Forks0
Watchers3
Issues0

marioidival/bro

bro watch files in directory and run tests for them

Stars12
Contributors1
Forks2
Watchers3
Issues0

jacobsa/ogletest

A Go unit testing framework with style similar to Google Test for C++ and Google JS Test.

Stars11
Contributors1
Forks1
Watchers3
Issues4

bulca/gounit

A unit test tool for Go

Stars10
Contributors1
Forks0
Watchers4
Issues0

jacobsa/oglemock

A mocking framework for Go inspired by Google Mock for C++ and Google JS Test.

Stars8
Contributors1
Forks0
Watchers1
Issues1

jvshahid/mock4go

Yet another mocking library for GO

Stars7
Contributors1
Forks0
Watchers2
Issues2

go-playground/assert

:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions

Stars6
Contributors2
Forks2
Watchers1
Issues0

pilu/miniassert

Mini assert testing framework for the Go language

Stars4
Contributors1
Forks1
Watchers1
Issues0

cavaliercoder/badio

Extensions to Go's testing/iotest package

Stars2
Contributors1
Forks1
Watchers1
Issues0

jcinnamond/gospec

Spec style syntax for writing Go tests.

Stars0
Contributors1
Forks0
Watchers1
Issues0