MCPcopy Create free account
hub / github.com/github/gh-aw / TestSpec_PublicAPI_GetAllEngineSecretNames

Function TestSpec_PublicAPI_GetAllEngineSecretNames

pkg/constants/spec_test.go:102–109  ·  view source on GitHub ↗

TestSpec_PublicAPI_GetAllEngineSecretNames validates the documented helper function. Spec section: "// Get all secret names for all engines"

(t *testing.T)

Source from the content-addressed store, hash-verified

100// TestSpec_PublicAPI_GetAllEngineSecretNames validates the documented helper function.
101// Spec section: "// Get all secret names for all engines"
102func TestSpec_PublicAPI_GetAllEngineSecretNames(t *testing.T) {
103 secrets := constants.GetAllEngineSecretNames()
104 require.NotEmpty(t, secrets, "GetAllEngineSecretNames should return non-empty slice")
105
106 // Spec documents COPILOT_GITHUB_TOKEN as one of the secrets
107 assert.Contains(t, secrets, "COPILOT_GITHUB_TOKEN",
108 "GetAllEngineSecretNames should include COPILOT_GITHUB_TOKEN as documented")
109}
110
111// TestSpec_SemanticTypes_StringAndIsValid validates the documented String() and IsValid()
112// methods on semantic types that implement them.

Callers

nothing calls this directly

Calls 1

GetAllEngineSecretNamesFunction · 0.92

Tested by

no test coverage detected