gotest.tools – gotest.tools Index | Files | Directories

package gotestyourself

import "gotest.tools"

Index

Source Files

pkg.go

Directories

PathSynopsis
assertPackage assert provides assertions for comparing expected values to actual values.
assert/cmd
assert/cmd/gty-migrate-from-testifyCommand gty-migrate-from-testify migrates packages from testify/assert and testify/require to gotestyourself/assert.
assert/cmpPackage cmp provides Comparisons for Assert and Check
assert/optPackage opt provides common go-cmp.Options for use with assert.DeepEqual.
envPackage env provides functions to test code that read environment variables or the current working directory.
fsPackage fs provides tools for creating temporary files, and testing the contents and structure of a directory.
goldenPackage golden provides tools for comparing large mutli-line strings.
icmdPackage icmd executes binaries and provides convenient assertions for testing the results.
icmd/internal
internal
pollPackage poll provides tools for testing asynchronous code.
skipPackage skip provides functions for skipping based on a condition.
testsumPackage testsum is DEPRECATED.
testsum/cmd
xPackage x is a namespace for other packages.
x/subtestPackage subtest provides a TestContext to subtests which handles cleanup, and provides a testing.TB, and context.Context.
Version
v1.4.0 (latest)
Published
Mar 21, 2018
Platform
linux/amd64
Last checked
now

Tools for package owners.