Documentation
¶
Overview ¶
Package modeltest provides shared test helpers for model-ref code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearEnv ¶
ClearEnv isolates the test from the developer's shell by blanking every COG_MODEL* env var. Without this, a shell-exported COG_MODEL_REPO (or similar) would leak into the test process and silently change what ResolveModelRef sees. t.Setenv handles restoration at cleanup; ResolveModelRef treats "" as unset, so blanking is equivalent to unsetting.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.