NFIBrokerage / slipstream

A slick WebSocket client for Phoenix Channels
https://hex.pm/packages/slipstream
Apache License 2.0
155 stars 18 forks source link

test-helpers/framework #3

Closed the-mikedavis closed 3 years ago

the-mikedavis commented 3 years ago

slipstream should provide tooling for testing connections

this shouldn't be exceptionally hard to implement: the Slipstream.Test (or whatever module) should provide functions for sending Slipstream.Events directly to the client

we can also add a flag in configuration test_mode? (default false) which could turn off all :gun operations (so the test process does not try to connect to any server)