testutil/

directory
v0.216.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: MIT

Directories

Path Synopsis
Package cjkscan is the shared body of the "no hardcoded Chinese" guard tests of the Go packages that write text for an agent or a person (design 2026-10-27-i18n-design.md §7), the Go counterpart of web/src/i18n/noHardcodedCjk.test.ts.
Package cjkscan is the shared body of the "no hardcoded Chinese" guard tests of the Go packages that write text for an agent or a person (design 2026-10-27-i18n-design.md §7), the Go counterpart of web/src/i18n/noHardcodedCjk.test.ts.
Package gitenv quiets git for tests that create repositories in a TempDir.
Package gitenv quiets git for tests that create repositories in a TempDir.
Package golden is the shared check of the i18n "characterization" golden files: the zh-CN file under testdata/i18n_golden is the text recorded from the code BEFORE it moved into the catalog (it must exist and never changes); the en file is the English rewrite, written when missing or when GOFER_GOLDEN_UPDATE is set, and must carry no CJK.
Package golden is the shared check of the i18n "characterization" golden files: the zh-CN file under testdata/i18n_golden is the text recorded from the code BEFORE it moved into the catalog (it must exist and never changes); the en file is the English rewrite, written when missing or when GOFER_GOLDEN_UPDATE is set, and must carry no CJK.
Package machinelang pins the machine locale a test binary sees.
Package machinelang pins the machine locale a test binary sees.
Package wait gives tests load-tolerant waits (gofer-r7am, design docs/design/2026-10-10-flaky-tests-root-cause.md §2.4).
Package wait gives tests load-tolerant waits (gofer-r7am, design docs/design/2026-10-10-flaky-tests-root-cause.md §2.4).

Jump to

Keyboard shortcuts

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