Expand description
Testing utilities for rust-camel.
This crate provides helpers for writing integration tests against the rust-camel framework. It re-exports commonly needed types and provides test-specific utilities.
Structs§
- Camel
Test Context - Test harness that wraps
CamelContextwith teardown helpers, pre-registered components, and a sharedMockComponentaccessor. - Camel
Test Context Builder - Builder for
CamelTestContext. - Mock
Component - The Mock component is a testing utility that records every exchange it receives via its producer. It exposes helpers to inspect and assert on the recorded exchanges.
- NoTime
Control - Time
Controller - Controls tokio’s mock time inside a test.
- With
Time Control