In Jellyfish, we rely on custom Phoenix.Socket.Transport
implementation and I wanted to ask about best practices in terms of how to properly test it.
In particular, is there any reason why Phoenix server is by default disabled in tests?
What comes to my mind is to run the whole server and use some third party library to create a real WebScoket.
Another solution, which we currently use, is to manually invoke callbacks. It works pretty well but creating a real WebSocket would test more things, I think.