[
https://issues.apache.org/jira/browse/CAMEL-23688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123979#comment-18123979
]
Claus Ibsen commented on CAMEL-23688:
-------------------------------------
Please hold off on adding broad CLI command tests until CAMEL-25388 is complete
(targeted 4.24.0). It changes exit codes, moves errors to stderr and changes
the --json output of many commands, so tests written now against the current
behaviour would need rewriting. CAMEL-25388 adds contract tests per command
family; coverage can build on those afterwards.
_Claude Code on behalf of davsclaus (Claus Ibsen)_
> camel-jbang - Add extensive test cover of the CLI commands
> ----------------------------------------------------------
>
> Key: CAMEL-23688
> URL: https://issues.apache.org/jira/browse/CAMEL-23688
> Project: Camel
> Issue Type: Test
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Adriano Machado
> Priority: Major
> Fix For: 4.x
>
>
> We should use AI to add extensive coverage of the CLI commands so we can be
> prepared for a refactor of the code base.
> The code is a bit hacky in some spots and has grown up where its time to
> refactor and make it more maintainable.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)