(t *testing.T)
| 28 | const subCmdKit = "create" |
| 29 | |
| 30 | func initializeKitCreateCmdOptions(t *testing.T) (*kitCreateCommandOptions, *cobra.Command, RootCmdOptions) { |
| 31 | t.Helper() |
| 32 | |
| 33 | options, rootCmd := kamelTestPreAddCommandInit() |
| 34 | kitCreateCmdOptions := addTestKitCreateCmd(*options, rootCmd) |
| 35 | kamelTestPostAddCommandInit(t, rootCmd, options) |
| 36 | |
| 37 | return kitCreateCmdOptions, rootCmd, *options |
| 38 | } |
| 39 | |
| 40 | func addTestKitCreateCmd(options RootCmdOptions, rootCmd *cobra.Command) *kitCreateCommandOptions { |
| 41 | // add a testing version of kit create Command |
no test coverage detected