Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.circleci/ | H | 11-Nov-2018 | - | |||
assert/ | H | 11-Nov-2018 | - | |||
dobifiles/ | H | 11-Nov-2018 | - | |||
env/ | H | 11-Nov-2018 | - | |||
fs/ | H | 11-Nov-2018 | - | |||
golden/ | H | 11-Nov-2018 | - | |||
icmd/ | H | 11-Nov-2018 | - | |||
internal/ | H | 11-Nov-2018 | - | |||
poll/ | H | 11-Nov-2018 | - | |||
scripts/ | H | 11-Nov-2018 | - | |||
skip/ | H | 11-Nov-2018 | - | |||
x/ | H | 11-Nov-2018 | - | |||
.codecov.yml | H A D | 11-Nov-2018 | 117 | |||
.gitignore | H A D | 11-Nov-2018 | 44 | |||
Gopkg.toml | H A D | 11-Nov-2018 | 277 | |||
LICENSE | H A D | 11-Nov-2018 | 561 | |||
README.md | H A D | 11-Nov-2018 | 1.5 KiB | |||
appveyor.yml | H A D | 11-Nov-2018 | 657 | |||
dobi.yaml | H A D | 11-Nov-2018 | 967 | |||
gometalinter.json | H A D | 11-Nov-2018 | 498 | |||
pkg.go | H A D | 11-Nov-2018 | 148 |
README.md
1# gotest.tools 2 3A collection of packages to augment `testing` and support common patterns. 4 5[![GoDoc](https://godoc.org/gotest.tools?status.svg)](https://godoc.org/gotest.tools) 6[![CircleCI](https://circleci.com/gh/gotestyourself/gotest.tools/tree/master.svg?style=shield)](https://circleci.com/gh/gotestyourself/gotest.tools/tree/master) 7[![Go Reportcard](https://goreportcard.com/badge/gotest.tools)](https://goreportcard.com/report/gotest.tools) 8 9 10## Packages 11 12* [assert](http://godoc.org/gotest.tools/assert) - 13 compare values and fail the test when a comparison fails 14* [env](http://godoc.org/gotest.tools/env) - 15 test code which uses environment variables 16* [fs](http://godoc.org/gotest.tools/fs) - 17 create temporary files and compare a filesystem tree to an expected value 18* [golden](http://godoc.org/gotest.tools/golden) - 19 compare large multi-line strings against values frozen in golden files 20* [icmd](http://godoc.org/gotest.tools/icmd) - 21 execute binaries and test the output 22* [poll](http://godoc.org/gotest.tools/poll) - 23 test asynchronous code by polling until a desired state is reached 24* [skip](http://godoc.org/gotest.tools/skip) - 25 skip a test and print the source code of the condition used to skip the test 26 27## Related 28 29* [gotest.tools/gotestsum](https://github.com/gotestyourself/gotestsum) - go test runner with custom output 30* [maxbrunsfeld/counterfeiter](https://github.com/maxbrunsfeld/counterfeiter) - generate fakes for interfaces 31* [jonboulle/clockwork](https://github.com/jonboulle/clockwork) - a fake clock for testing code that uses `time` 32