-
Notifications
You must be signed in to change notification settings - Fork 19
Description
There seems to be a painful lack of documentation on how to test graphql-anycable. Due to #12 it's not possible to use default ActionCable testing and graphql-ruby itself is also quite slim on instructions but at least it provides something (though that something does not work with graphql-anycable due to internal differences like expecting anycable_socket to be there).
It would be amazing if there was a documented way on how to test the basic flows:
- Initial subscription payload
- Update subscription payload
- Triggering subscriptions in general and ensuring they're sent to all relevant clients
I've been trying to come up with something for our internal needs (as we require full test coverage for all our new features) but it's been proving a bit difficult (lots of deep diving into graphql-anycable internals and trying to understand how things work without previous knowledge takes time that I honestly no longer can afford) so any assistance or pointers would be more than welcome.