Go Test Yourself

A collection of packages compatible with go test to support common testing patterns.

GoDoc CircleCI Go Reportcard


  • assert - compare values and fail the test when the comparison fails
  • env - test code that uses environment variables
  • fs - create test files and directories
  • golden - compare large multi-line strings
  • 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
  • testsum - a program to summarize go test output and test failures