camel-test
Testing utilities for rust-camel.
Overview
camel-test provides testing utilities for writing integration tests against the rust-camel framework. It re-exports commonly needed types and provides test-specific utilities.
Features
- MockComponent re-export - Direct access to the mock component for test assertions
- Test dependencies - Includes commonly needed testing crates (tokio, tower)
- Component test utilities - Pre-configured components for integration testing
Usage
use MockComponent;
use RouteBuilder;
use CamelContext;
use TimerComponent;
async
Installation
Add to your Cargo.toml:
[]
= "0.1"
Documentation
For detailed mock component documentation and assertion methods, see the camel-component-mock crate.