[
https://issues.apache.org/jira/browse/CAMEL-27867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet reassigned CAMEL-27867:
---------------------------------------
Assignee: Guillaume Nodet
> camel-robotframework: six options map to robot options that Robot Framework
> 4.1.2 rejects, variables is never passed
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27867
> URL: https://issues.apache.org/jira/browse/CAMEL-27867
> Project: Camel
> Issue Type: Bug
> Reporter: Claus Ibsen
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-robotframework for
> CAMEL-23832 (commit
> https://github.com/apache/camel/commit/1aaff12f7925110d68d6576bdc6977b75773cc4a,
> pull request https://github.com/apache/camel/pull/31146).
> These are separate problems of the component; the descriptions change only
> documents the current behavior.
> h4. 1. Six options make the run fail
> {{RobotFrameworkEndpoint.onExchange}} maps runMode (--runmode), splitOutputs
> (--splitoutputs), summaryTitle (--summarytitle), monitorWidth
> (--monitorwidth), monitorColors (--monitorcolors) and warnOnSkippedFiles
> (--warnonskippedfiles) to options Robot Framework 4.1.2 does not have; each
> gives "option ... not recognized" and rc 252 while the exchange still
> succeeds (reproduced with the 4.1.2 jar).
> Proposed change: map monitorWidth/monitorColors to
> --consolewidth/--consolecolors and splitOutputs to --splitlog; deprecate the
> others.
> h4. 2. variables is never passed
> onExchange never reads getVariables().
> Proposed change: add them as -v arguments.
> h4. 3. The xunit file name sticks to the first suite
> onExchange sets setXunitFile("TEST-"+path+".xml") on the shared configuration
> during the first exchange, so later exchanges with another
> CamelRobotResourceUri write to the first suite's file.
> Proposed change: compute it per exchange.
> h4. 4. argumentFiles is a single file
> argumentFiles is passed as one -A path although the name is plural.
> Proposed change: split it, or rename the text.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)