ion icon indicating copy to clipboard operation
ion copied to clipboard

Test websocket consumers

Open theo-o opened this issue 5 years ago • 1 comments
trafficstars

What part of the codebase needs to be tested

WebSocket consumers (wss://)

Sample test cases that should definitely be covered

  • Close incoming webSocket connections that don't match a route.
  • Test /bus connections as an unauthenticated user
  • Test /bus connections as a random user
  • Test connections to /bus
    • Unassigning a bus
    • Assigning a bus
    • Listing buses

Related to https://github.com/tjcsl/ion/pull/915

theo-o avatar Nov 23 '19 20:11 theo-o

In addition, we should probably test whether CancelledErrors are being trigerred.

theo-o avatar Dec 01 '19 19:12 theo-o