README

Go Test Yourself

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

GoDoc CircleCI Go Reportcard

Packages

  • fs - create test files and directories
  • golden - compare large multi-line strings
  • testsum - a program to summarize go test output 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
Expand ▾ Collapse ▴

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
Package fs provides tools for creating and working with temporary files and directories.
Package fs provides tools for creating and working with temporary files and directories.
Package golden provides tools for comparing large mutli-line strings.
Package golden provides tools for comparing large mutli-line strings.
gotestsum module
Package icmd executes binaries and provides convenient assertions for testing the results.
Package icmd executes binaries and provides convenient assertions for testing the results.
Package poll provides tools for testing asynchronous code.
Package poll provides tools for testing asynchronous code.
Package skip provides functions for skipping based on a condition.
Package skip provides functions for skipping based on a condition.
Package testsum provides functions for parsing `go test -v` output and returning a summary of the test run.
Package testsum provides functions for parsing `go test -v` output and returning a summary of the test run.
cmd