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

Function TestValidEngineNames

pkg/cli/completions_test.go:219–230  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

217}
218
219func TestValidEngineNames(t *testing.T) {
220 engines := ValidEngineNames()
221
222 // Verify the list is not empty
223 assert.NotEmpty(t, engines, "Engine names list should not be empty")
224
225 // Verify expected engines are present
226 expectedEngines := []string{"copilot", "claude", "codex", "gemini", "antigravity", "opencode", "crush"}
227 for _, expected := range expectedEngines {
228 assert.Contains(t, engines, expected, "Expected engine '%s' to be in the list", expected)
229 }
230}
231
232func TestCompleteEngineNames(t *testing.T) {
233 cmd := &cobra.Command{}

Callers

nothing calls this directly

Calls 1

ValidEngineNamesFunction · 0.85

Tested by

no test coverage detected