Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action cable command callbacks testing #45445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

palkan
Copy link
Contributor

@palkan palkan commented Jun 23, 2022

Summary

This is the follow-up for #44696.

I found that testing callbacks is currently not supported due to some limitations of our test stubs.

Other Information

I don't really like the way Action Cable testing currently uses connection stubs, but this is the limitation of the current library design (connections are highly coupled with event loops and servers). Back in a while, I tried to tackle this: #27648. Maybe, we should re-visit this problem in the future (for Rails 8, maybe?).

@palkan palkan force-pushed the feat/connection-callbacks-testing branch from da04e85 to fea8a5e Compare June 23, 2022 16:13
@palkan palkan force-pushed the feat/connection-callbacks-testing branch from fea8a5e to cc393b0 Compare April 25, 2023 18:33
@palkan palkan force-pushed the feat/connection-callbacks-testing branch from cc393b0 to 5c9ce80 Compare April 25, 2023 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant