Crate oa_gateway_testing

Source
Expand description

Shared fixtures and test scaffolding.

This is not a runtime crate. Adapter crates must not depend on the harness feature โ€” that would cycle (oa-gateway-testing โ†’ adapter โ†’ oa-gateway-testing). Unit tests stay in each crate; anything that crosses the engine lives here.

harness is on by default and pulls OWP, STOMP, DDS, and loopback. fixtures is always available. oa-gateway-uci depends with default-features = false so it can compile against the sample payloads without taking the adapters.

Modulesยง

  • Starts the DDS adapter for in-process tests.
  • Sample payloads. Paths stay valid when crates move; do not include_str! from the workspace root.
  • In-process OWP server and a WebSocket client for it.
  • Mini STOMP broker, a peer client, and an adapter starter.
  • Self-signed certificates for TLS tests.
  • Timeouts and markers for cross-adapter tests.