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

Function TestExperimentsAnalyzeSubcommandFlags

pkg/cli/experiments_command_test.go:323–329  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

321}
322
323func TestExperimentsAnalyzeSubcommandFlags(t *testing.T) {
324 cmd := NewExperimentsAnalyzeSubcommand()
325 require.NotNil(t, cmd, "analyze subcommand should be created")
326
327 assert.NotNil(t, cmd.Flag("json"), "should have --json flag")
328 assert.NotNil(t, cmd.Flag("repo"), "should have --repo flag")
329}
330
331func TestExperimentsAnalyzeRequiresArg(t *testing.T) {
332 cmd := NewExperimentsAnalyzeSubcommand()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected