Crate aldrin_test

Source
Expand description

Utilities for Aldrin server and client tests

This crate provides a simple way to quickly setup a complete Aldrin bus with a broker and multiple clients and is intended to be used in unit tests.

If you are using Tokio, it is strongly recommended to enable this crate’s tokio feature and use the types in the tokio module instead of the crate-level types.

Modules§

tokio
Tokio-based utilities for Aldrin server and client tests

Structs§

TestBroker
Broker for use in tests.
TestClient
Client for use in tests.