mirror of https://github.com/docker/cli.git
5ef8835f23
Signed-off-by: Daniel Nephin <dnephin@docker.com> |
||
---|---|---|
.. | ||
assert | ||
env | ||
fs | ||
golden | ||
icmd | ||
internal | ||
poll | ||
skip | ||
LICENSE | ||
README.md |
README.md
Go Test Yourself
A collection of packages compatible with go test
to support common testing
patterns.
Packages
- assert - compare values and fail the test when the comparison fails
- env - test code that uses environment variables
- fs - create test files and directories
- 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
- testsum -
a program to summarize
go test
output and test failures
Related
- maxbrunsfeld/counterfeiter - generate fakes for interfaces
- jonboulle/clockwork - a fake clock for testing code that uses
time