(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestNewProjectCommand(t *testing.T) { |
| 13 | cmd := NewProjectCommand() |
| 14 | require.NotNil(t, cmd, "Command should be created") |
| 15 | assert.Equal(t, "project", cmd.Use, "Command name should be 'project'") |
| 16 | assert.Equal(t, "Create GitHub Projects V2 boards", cmd.Short, "Short description should describe project creation") |
| 17 | assert.Contains(t, cmd.Long, "Create GitHub Projects V2 boards linked to repositories.", "Long description should describe creation behavior") |
| 18 | assert.NotEmpty(t, cmd.Commands(), "Command should have subcommands") |
| 19 | } |
| 20 | |
| 21 | func TestNewProjectNewCommand(t *testing.T) { |
| 22 | cmd := NewProjectNewCommand() |
nothing calls this directly
no test coverage detected