Testing / Testing Frameworks

62 packages 4 resources

Packages (62)

Testify

Sacred extension to the standard go testing package.

25,743 1,689

keploy

Generate Testcase and Data Mocks from API calls automatically.

15,636 2,065

GoConvey

BDD-style framework with web UI and live reload.

8,419 555

testcontainers-go

A Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.

4,637 587

go-cmp

Package for comparing Go values in tests.

4,585 222

httpexpect

Concise, declarative, and easy to use end-to-end HTTP and REST API testing.

2,710 243

godog

Cucumber BDD framework for Go.

2,579 269

is

Professional lightweight testing mini-framework for Go.

1,947 63

gnomock

integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks.

1,479 75

go-vcr

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

1,352 82

testfixtures

A helper for Rails' like test fixtures to test database applications.

1,216 90

embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test.

1,116 99

goblin

Mocha like testing framework of Go.

892 76

goc

Goc is a comprehensive coverage testing system for The Go Programming Language.

877 136

go-httpbin

HTTP testing and debugging tool with various endpoints for client testing.

806 166

baloo

Expressive and versatile end-to-end HTTP API testing made easy.

782 28

gotest.tools

A collection of packages to augment the go testing package and support common patterns.

577 51

go-testdeep

Extremely flexible golang deep comparison, extends the go testing package.

457 17

gofight

API Handler Testing for Golang Router framework.

445 40

testza

Full-featured test framework with nice colorized output.

419 20

cupaloy

Simple snapshot testing addon for your test framework.

328 25

frisby

REST API testing framework.

275 26

got

An enjoyable golang test framework.

269 16

endly

Declarative end to end functional testing.

267 35

go-hit

Hit is an http integration test framework written in golang.

258 9

go-carpet

Tool for viewing test coverage in terminal.

251 11

arch-go

Architecture testing tool for Go projects.

245 19

go-snaps

Jest-like snapshot testing in Golang.

245 9

commander

Tool for testing cli applications on windows, linux and osx.

229 19

charlatan

Tool to generate fake interface implementations for tests.

204 10

dbcleaner

Clean database for testing purpose, inspired by `database_cleaner` in Ruby.

163 13

jsonassert

Package for verifying that your JSON payloads are serialized correctly.

140 16

be

The minimalist generic test assertion library.

131 1

testcase

Idiomatic testing framework for Behavior Driven Development.

127 11

gocrest

Composable hamcrest-like matchers for Go assertions.

106 7

wstest

Websocket client for unit-testing a websocket http.Handler.

102 18

gherkingen

BDD boilerplate generator and framework.

92 4

testcerts

Dynamically generate self-signed certificates and certificate authorities within your test functions.

84 11

assert

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

68 16

restit

Go micro framework to help writing RESTful API integration test.

55 4

gospecify

This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec.

52 7

gomatch

library created for testing JSON against patterns.

48 4

dsunit

Datastore testing for SQL, NoSQL, structured files.

45 9

fixenv

Fixture manage engine, inspired by pytest fixtures.

33 1

Hamcrest

fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results.

30 5

flute

HTTP client testing framework.

20 1

schema

Quick and easy expression matching for JSON schemas used in requests and responses.

20 1

dft

Lightweight, zero dependency docker containers for testing (or more).

19

testsql

Generate test data from SQL files before testing and clear it after finished.

17 2

gogiven

YATSPEC-like BDD testing framework for Go.

16 3

biff

Bifurcation testing framework, BDD compatible.

14 2

gosuite

Brings lightweight test suites with setup/teardown facilities to `testing` by leveraging Go1.7's Subtests.

12 4

Tt

Simple and colorful test tools.

9 1

trial

Quick and easy extendable assertions without introducing much boilerplate.

6 1

go-testpredicate

Test predicate style assertions library with extensive diagnostics output.

5

envite

Dev and testing environment management framework.

4

omg.testingtools

The simple library for change a values of private fields for testing.

1

Gont

Go network testing toolkit for testing building complex network topologies using Linux namespaces.

Resources & Links (4)