Claus Ibsen created CAMEL-26849:
-----------------------------------

             Summary: camel-jbang - run the Citrus tests of an example or 
folder, with a test screen that has reports as the chaos screen has
                 Key: CAMEL-26849
                 URL: https://issues.apache.org/jira/browse/CAMEL-26849
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen
             Fix For: 4.25.0


Split from CAMEL-26814, which keeps picking a chaos scenario in the run options 
form for 4.24.

The example browser already marks the examples with Citrus tests 
({{test/*.citrus.it.yaml}}). The form could offer to run one of them with 
{{camel test run <file>}}. Note that such a test starts the integration itself 
(its {{camel: cli: run:}} action) and then verifies it, so this is a different 
way of launching rather than an extra option of {{camel run}}:
* choose between running the example and running one of its Citrus tests (or 
all of them)
* show the test outcome (pass or fail, and the failing action) when it ends, 
and keep its log, as for a run
* the integration the test starts should show up and be selected as usual, so 
the tabs can be used while the test runs
* decide which of the run options still apply to a test (runtime, profile, 
port, chaos ...), and grey out the rest

Possibly the two meet: a Citrus test run with chaos on, to check the example 
holds up under faults.


This needs a test screen with reports, as the Chaos screen has for chaos: each 
test run, its outcome, the failing action, and its log.

_Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to