Documentation
¶
Overview ¶
Package testutil provides golden-file and temporary-directory helpers shared across gskill tests. It is imported only from _test.go files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Golden ¶
Golden compares got against the golden file at testdata/<name>. When -update is set it rewrites the golden file instead of asserting equality, so golden files can be regenerated with "go test -update".
func TempProject ¶
TempProject returns an isolated temporary directory usable as a gskill project root for a single test. The directory is removed when the test ends.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.