Directories

Path Synopsis
bar Package bar provides utilities for testing barista modules using a fake bar instance.
cron Package cron provides a function to run a test only in Travis CI cron runs, and retry the test with increasing delays a few times before failing the build.
fail Package fail provides methods to test and verify failing assertions.
githubfs Package githubfs provides an afero FS that's backed by github.com.
httpcache Package httpcache provides a RoundTripper that stores all responses on disk, and returns cached responses for any requests that have been made before.
httpclient Package httpclient provides a testable wrapper around an existing *http.Client.
httpserver Package httpserver provides a test http server that can serve some canned responses, e.g.
mockio Package mockio provides infinite streams that can be used for testing stdin/stdout.
module Package module provides a test module that can be used in tests.
notifier Package notifier provides assertions that notifier channels (<-chan struct{}) received or did not receive a signal.
output Package output provides utilities for testing barista outputs and segments.
pango Package pango provides provides a method to test markup equality.