Go Test Yourself
A collection of packages compatible with go test to support common testing
patterns.
Packages
- fs - create test files and directories
- golden - compare large multi-line strings
- testsum -
a program to summarize
go testoutput and test failures - icmd - execute binaries and test the output
- poll - test asynchronous code by polling until a desired state is reached
- skip - skip tests based on conditions
Related
- testify/assert and testify/require - assertion libraries with common assertions
- golang/mock - generate mocks for interfaces
- testify/suite - group test into suites to share common setup/teardown logic