[
https://issues.apache.org/jira/browse/CAMEL-23688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127936#comment-18127936
]
Claus Ibsen commented on CAMEL-23688:
-------------------------------------
Pull request: https://github.com/apache/camel/pull/27963 - tests for the
commands that show the messages and logs of a running integration (cmd receive,
trace, log, cmd send, transform message, cmd memory-leak), picked by line
coverage, and fixes for the bugs they found: a name that matches nothing exits
with 0 in log/trace/receive dumps, cmd receive JSON duplicates and dump without
a name, --sort of trace and receive, colored output lost by the embedded CLI,
NullPointerException of cmd send/transform message on a failed action, and cmd
memory-leak failures, status and locale. This ticket stays open for more
coverage (cmd history, get error, restart, doc, init, update run, dependency
copy).
_Claude Code on behalf of davsclaus_
> 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: Claus Ibsen
> 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)