Testing


WS-RS is well-maintained and tested with the use of Rust's built-in support for unit testing and integration testing. To run the tests, clone the latest code and use Cargo to run the tests:

$ git clone https://github.com/housleyjk/ws-rs.git
$ cargo test

You can can run the tests with various features active like so:

$ cargo test --features "ssl,permessage-deflate"

For examples of how you can write your own integration tests, checkout the shutdown test. In addition to the built-in Rust tests, WS-RS also passes the complete Autobahn Test Suite.