You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "oscerd (via GitHub)" <gi...@apache.org> on 2026/07/03 12:29:56 UTC
[PR] chore: rewrite the Kamelet testing guide for Citrus (was YAKS) [camel-kamelets]
oscerd opened a new pull request, #2905:
URL: https://github.com/apache/camel-kamelets/pull/2905
## Summary
The **Testing** section of the developer guide (`docs/modules/ROOT/pages/development.adoc`) documented **YAKS + Gherkin `.feature` files run against a Kubernetes cluster** — but the repository's tests are **Citrus** tests under `tests/camel-kamelets-itest/` that drive Kamelets with **Camel JBang**. A new contributor following the guide today writes tests that don't fit the project's CI.
This rewrites the section to describe the actual workflow:
- a `Pipe` that wires the Kamelet under test;
- a `*.citrus.it.yaml` test that runs the `Pipe` via `camel jbang run` and asserts the result via `camel jbang verify` (`logMessage`) or the Citrus HTTP server;
- a `*IT.java` `@CitrusTestFactory` that registers the resource folder;
- how to test a source vs a sink, and how to run the suite (`mvn verify -pl :camel-kamelets-itest -Denable.integration.tests`, or a single factory with `-Dit.test=CommonIT#<name>`).
All examples use real, merged suites (`log`, `timer`, `CommonIT`), and the doc reiterates that a passing behaviour test justifies the `camel.apache.org/kamelet.verified: "true"` label.
## Verification
- AsciiDoc structure checked (balanced source blocks, valid section hierarchy); no YAKS/Gherkin/`.feature` references remain in the section. Antora rendering is validated by the `pr-doc-validation` workflow.
---
_AI-generated by Claude Code on behalf of Andrea Cosentino (@oscerd)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: rewrite the Kamelet testing guide for Citrus (was YAKS) [camel-kamelets]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #2905:
URL: https://github.com/apache/camel-kamelets/pull/2905#issuecomment-4876419700
In the future we should drop camel pipe and use routes that is what we should only support.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore: rewrite the Kamelet testing guide for Citrus (was YAKS) [camel-kamelets]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #2905:
URL: https://github.com/apache/camel-kamelets/pull/2905
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org