Open jaraco opened 1 year ago
I was wrong about mocket. It doesn't do websockets, just regular HTTP.
I started looking into creating a mock socketio server in https://github.com/jaraco/jaraco.abode/tree/tests/17-events, but I found it challenging to start up a server and tear it down. Moreover, I don't fully understand the Websocket/EngineIO/SocketIO protocols. I'm unlikely to make progress on this, but I'm eager for any solution. Contributions encouraged.
The Socket IO / events controller currently has poor test coverage:
As a result, bugs such as those in #14 were allowed to creep into the project.
Today, I did a search and found mocket that looks pretty mature and may enable testing some of the websocket behaviors.