Crate ws_mock

Source
Expand description

A simple websocket mock framework heavily inspired by Wiremock in Rust.

Ws-Mock is meant to provide a simple framework for expecting, verifying, and responding to messages for tests.

Modulesยง

matchers
A common trait and useful implementations for matching against received messages.
utils
Utilities used throughout testing and implementations that may be of use.
ws_mock_server
The mock server implementation that handles WsMocks, expecting, verifying, and responding to messages.