camel-test

Generate Citrus integration tests for Apache Camel routes with Testcontainers.

31|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/luigidemasi/camel-kit --skill camel-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: camel-test
Source: https://github.com/luigidemasi/camel-kit/tree/main/camel-kit-core/src/main/resources/skills/camel-test
Command: npx skills add https://github.com/luigidemasi/camel-kit --skill camel-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive integration tests for Apache Camel routes, ensuring reliability and validating end-to-end flow behavior.

Core Features & Use Cases

  • Automated Test Generation: Creates Citrus integration tests based on Camel route implementations and technical design documents.
  • Testcontainer Integration: Configures and utilizes Testcontainers for dependencies like Kafka and PostgreSQL.
  • Scenario Coverage: Generates tests for happy paths, error scenarios, and business rule violations.
  • Use Case: After implementing a new Camel route for order processing, use this Skill to automatically generate a full suite of integration tests that verify data flow, error handling, and database interactions.

Quick Start

Use the camel-test skill to generate integration tests for the 'order-to-warehouse' flow.

Frequently Asked Questions about camel-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate integration tests for Apache Camel routes?

You can generate integration tests for Apache Camel routes by analyzing TDD and route implementations to automatically create Citrus test YAML files, application-test.properties, and run-tests.sh scripts.

How does Citrus framework integration testing work with Testcontainers for Camel routes?

Citrus integration testing with Testcontainers validates Camel route behavior by configuring dependency containers like Kafka and PostgreSQL, verifying data flow, error handling, and database interactions against defined scenarios.

Can I use Testcontainers to test Camel route error scenarios and business rule violations?

Yes, Testcontainers supports testing Camel route error scenarios and business rule violations by simulating dependencies like Kafka and PostgreSQL to validate route behavior against defined error conditions.

What is the best way to automate test creation for Camel route happy paths?

The best way to automate Camel route happy path test creation is using a generation tool that analyzes technical design documents and route implementations to output Citrus test YAML files and execution scripts automatically.

Do I need technical design documents to generate Citrus test YAML files for Camel routes?

Yes, providing technical design documents alongside Camel route implementations allows the test generation process to map defined scenarios, including happy paths and error conditions, into valid Citrus test YAML files.