-
-
Notifications
You must be signed in to change notification settings - Fork 575
Closed
Labels
Description
The documentation should describe best practices for writing tests for websockets apps.
For testing a server, it's possible to run the server, instantiate a client, and use the client to interact with the server. This only allows writing end-to-end tests.
For testing a server or a client, it must be possible to mock the send() and recv() methods, although I'm not too sure how to mock coroutines.
If you've found a nice approach to this, I'm interested :-)
rahulsabbineni, bradwood, kwint and arunshankarc