Documentation
¶
Overview ¶
Package testutil provides shared helpers for isolated test fixtures. Production code must not depend on this package.
Index ¶
Constants ¶
View Source
const RequireSymlinksEnv = "CONTROL_TEST_REQUIRE_SYMLINKS"
RequireSymlinksEnv declares that the test runner has been provisioned for symbolic-link creation. It is not inferred from CI or administrator status.
Variables ¶
This section is empty.
Functions ¶
func Symlink ¶
Symlink creates a fixture link or ends the current test. Unprovisioned environments skip only recognized missing-capability errors; unexpected errors always fail. A true RequireSymlinksEnv makes every creation error fail. No privileges, Developer Mode or filesystem settings are changed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.