testing/

directory
v0.0.0-...-c936f35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0

Directories

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL