Documentation
¶
Overview ¶
Package testutil has helpers shared by tests.
Index ¶
Constants ¶
View Source
const UpdateEnv = "GOLDEN_UPDATE"
UpdateEnv makes golden helpers rewrite their files. mise run test:golden -- -update sets it.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fakebin turns the test binary into fake executables such as terragrunt or mise.
|
Package fakebin turns the test binary into fake executables such as terragrunt or mise. |
|
Package ghtest has GitHub settings for cassette tests: the scrubber and the token to record with.
|
Package ghtest has GitHub settings for cassette tests: the scrubber and the token to record with. |
|
Package mcptest connects an in-process MCP client to an mcpkit.Server and compares tool results with --format json golden files.
|
Package mcptest connects an in-process MCP client to an mcpkit.Server and compares tool results with --format json golden files. |
|
Package sarifcheck validates SARIF logs against the SARIF 2.1.0 JSON schema that GitHub's upload-sarif action checks uploads with.
|
Package sarifcheck validates SARIF logs against the SARIF 2.1.0 JSON schema that GitHub's upload-sarif action checks uploads with. |
|
Package vcr records HTTP interactions into go-vcr cassettes and replays them in tests.
|
Package vcr records HTTP interactions into go-vcr cassettes and replays them in tests. |
Click to show internal directories.
Click to hide internal directories.