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.
Re-exports§
pub use security_fixture::SecurityConfigFixture;
Modules§
- security_
fixture - Deterministic security config fixture for kernel E2E tests
(
unify-transport-auth, Task 1.10).
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