Documentation
¶
Overview ¶
Package testctx implements the shared test-context predicate (DESIGN.md section 6.4): one definition of "non-production", computed on the slash-separated path relative to the project root, shared by every check and every extractor. Root-relative matching is deliberate — a production src/test/ directory is not test code (lesson 6).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTestContext ¶
IsTestContext reports whether the file at relPath (relative to the project root, slash-separated) is test code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.