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§

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