Testify

FreeGogithub.com

Best for: Readable assertions in Go tests

Overview

Assertions, mocks and test suites for Go that work with the standard testing package.

Strengths

  • assert and require packages
  • Works with go test

Drawbacks

  • Some prefer plain standard-library tests

Alternatives to Testify

See all 9 →

A Tour of Go

Your first day with Go
Free

The official interactive Go introduction: run and edit code in the browser while it walks through syntax, methods, interfaces and concurrency.

Go by Example

Looking up how to do X in Go
Free

Short annotated Go programs, one per topic, from basics to goroutines, channels and testing.

Effective Go

Writing Go the way the Go team does
Free

The Go team's guide to writing idiomatic Go: naming, formatting, errors, interfaces and concurrency.