davsclaus opened a new pull request, #27973: URL: https://github.com/apache/camel/pull/27973
Eighth batch of [CAMEL-23688](https://issues.apache.org/jira/browse/CAMEL-23688) (test coverage of the CLI commands): the views of `camel cmd browse` (57% line coverage before) and `camel cmd stub` (46%), which only had a test of the request and one of a name that matches nothing. ### Tests - `CamelBrowseActionViewsTest` (new): the endpoints and their size (`100+` at the limit), `--sort`, `--mask`, the dump of the messages (what the request asks for: the endpoint, `--tail`, `--body-max-chars`), `--only-body`, JSON with the messages, and the errors. - `CamelStubActionViewsTest` (new): the queues, `--sort`, `--filter`, `--browse` (the latest message first), `--grep` with `--show-headers=false`, JSON, and an unknown `--sort`. ### Bug the tests found - **`camel cmd browse --endpoint`** with an endpoint that the integration cannot browse, or does not have, printed an empty table and exited with `0`; now not found (`3`), as a name that matches no integration is. The user-visible change is in the 4.24 upgrade guide. `mvn test` of camel-jbang-core: all tests pass. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DDRLJAyf8cDXSg8iX785My -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
