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

Function TestSpec_PublicAPI_ValidEngineNames

pkg/cli/spec_test.go:113–119  ·  view source on GitHub ↗

TestSpec_PublicAPI_ValidEngineNames validates the documented function returns a non-empty list. Spec: "Returns the supported engine names for shell completion"

(t *testing.T)

Source from the content-addressed store, hash-verified

111// TestSpec_PublicAPI_ValidEngineNames validates the documented function returns a non-empty list.
112// Spec: "Returns the supported engine names for shell completion"
113func TestSpec_PublicAPI_ValidEngineNames(t *testing.T) {
114 engines := cli.ValidEngineNames()
115 assert.NotEmpty(t, engines, "ValidEngineNames should return at least one engine name")
116 for _, name := range engines {
117 assert.NotEmpty(t, name, "each engine name should be non-empty")
118 }
119}
120
121// TestSpec_PublicAPI_ValidArtifactSetNames validates the documented function returns known artifact sets.
122// Spec: "Returns the valid artifact set name strings"

Callers

nothing calls this directly

Calls 1

ValidEngineNamesFunction · 0.92

Tested by

no test coverage detected