Back to godoc.org
gotest.tools

Package gotestyourself

v1.4.0
Latest Go to latest

The latest major version is v3.

Published: Mar 21, 2018 | License: Apache-2.0 | Module: gotest.tools

Module

gotest.tools

README

Go Test Yourself

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

GoDoc CircleCI Go Reportcard

Packages

  • assert - compare values and fail the test when the comparison fails
  • env - test code that uses environment variables
  • fs - create test files and compare directories structures
  • 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
Source: gotest.tools@v1.4.0/README.md