Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.circleci/ | H | 11-Nov-2018 | - | 104 | 95 | |
assert/ | H | 11-Nov-2018 | - | 3,912 | 3,109 | |
dobifiles/ | H | 11-Nov-2018 | - | 47 | 37 | |
env/ | H | 11-Nov-2018 | - | 254 | 201 | |
fs/ | H | 11-Nov-2018 | - | 1,421 | 1,120 | |
golden/ | H | 11-Nov-2018 | - | 327 | 235 | |
icmd/ | H | 11-Nov-2018 | - | 591 | 459 | |
internal/ | H | 11-Nov-2018 | - | 1,165 | 867 | |
poll/ | H | 11-Nov-2018 | - | 263 | 189 | |
scripts/ | H | 11-Nov-2018 | - | 28 | 19 | |
skip/ | H | 11-Nov-2018 | - | 224 | 161 | |
x/ | H | 11-Nov-2018 | - | 189 | 132 | |
.codecov.yml | H A D | 11-Nov-2018 | 117 | 9 | 8 | |
.gitignore | H A D | 11-Nov-2018 | 44 | 6 | 5 | |
Gopkg.toml | H A D | 11-Nov-2018 | 277 | 17 | 12 | |
LICENSE | H A D | 11-Nov-2018 | 561 | 14 | 10 | |
README.md | H A D | 11-Nov-2018 | 1.5 KiB | 32 | 24 | |
appveyor.yml | H A D | 11-Nov-2018 | 657 | 29 | 21 | |
dobi.yaml | H A D | 11-Nov-2018 | 967 | 57 | 46 | |
gometalinter.json | H A D | 11-Nov-2018 | 498 | 32 | 29 | |
pkg.go | H A D | 11-Nov-2018 | 148 | 5 | 1 |
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