rust-rocket
rust-rocket copied to clipboard
Add client testing
We should add some tests for the client with various scenarios. This requires implementing a thread local test double for the TcpStream and doing a #[cfg(test)] that switches the actual stream for the stub.