[ 
https://issues.apache.org/jira/browse/CAMEL-23688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127728#comment-18127728
 ] 

Claus Ibsen commented on CAMEL-23688:
-------------------------------------

Pull request: https://github.com/apache/camel/pull/27934 — tests for 20 
commands and helpers of camel-jbang-core that had none (log, trace, cmd send, 
eval expression, cmd sql, heap-histogram, get datasource, get sql-trace, infra 
run/stop, jolokia, the integration name, the user configuration defaults, 
version comparison, ...), and fixes for the 9 bugs they found (cmd send --reply 
ClassCastException, get source NPE, version comparison, exit codes of jolokia, 
config set, dependency list and cmd memory-leak, .camel.xml from GitHub, 
heap-dump size locale). This ticket stays open for more coverage.

_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)

Reply via email to