pkg/

directory
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT

Directories

Path Synopsis
Package dkrkit wraps the docker CLI in Go helper functions for use in integration tests.
Package dkrkit wraps the docker CLI in Go helper functions for use in integration tests.
Package exekit provides test helpers for running external commands and asserting their exit code, standard output, and standard error.
Package exekit provides test helpers for running external commands and asserting their exit code, standard output, and standard error.
Package httpkit provides test helpers for HTTP handler and server testing.
Package httpkit provides test helpers for HTTP handler and server testing.
Package iokit provides I/O and buffer-related helpers for testing.
Package iokit provides I/O and buffer-related helpers for testing.
Package jsonkit provides JSON helpers for tests.
Package jsonkit provides JSON helpers for tests.
Package modkit provides test helpers for the Go module under test: locating the module root and reading module and Go versions from go.mod files.
Package modkit provides test helpers for the Go module under test: locating the module root and reading module and Go versions from go.mod files.
Package netkit provides networking helpers for tests: obtaining free TCP ports and local addresses, checking whether a TCP address accepts connections, and skipping tests when no network or Internet connection is available.
Package netkit provides networking helpers for tests: obtaining free TCP ports and local addresses, checking whether a TCP address accepts connections, and skipping tests when no network or Internet connection is available.
Package oskit provides test helpers for common os operations.
Package oskit provides test helpers for common os operations.
Package pathkit provides test helpers for common path/filepath operations.
Package pathkit provides test helpers for common path/filepath operations.
Package prjkit provides a Project helper for writing integration tests that operate on a temporary Go project on disk.
Package prjkit provides a Project helper for writing integration tests that operate on a temporary Go project on disk.
Package randkit provides random test helpers for generating strings, file names, identifiers, and other test fixtures.
Package randkit provides random test helpers for generating strings, file names, identifiers, and other test fixtures.
Package reflectkit provides lightweight reflection utilities for testing.
Package reflectkit provides lightweight reflection utilities for testing.
Package selfkit enables test cases that need to exec a binary and assert its exit code, stdout, and stderr — by reusing the test binary itself.
Package selfkit enables test cases that need to exec a binary and assert its exit code, stdout, and stderr — by reusing the test binary itself.
Package subkit runs Go tests in a child "go test" process.
Package subkit runs Go tests in a child "go test" process.
Package testkit provides a curated collection of helpers designed to streamline common testing tasks in Go.
Package testkit provides a curated collection of helpers designed to streamline common testing tasks in Go.
Package timekit provides controllable and deterministic clocks for testing code that depends on time.
Package timekit provides controllable and deterministic clocks for testing code that depends on time.

Jump to

Keyboard shortcuts

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