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

Refactor and add tests for hub method discovery #45

Closed

Conversation

ryanwersal
Copy link
Owner

This branch is based off the other PR.

While I was looking closely at the web socket handler I noticed that there wasn't much testing around the hub method discovery so I looked at adding some.

I opted to factor out the code into a separate internal class so that it could be more readily tested independently (though it still uses the ServicesMocker from the other PR for the logger factory).

I did discover, through this testing, that the discovery process picked up a few methods from object that I updated the code to ignore using the same method as ignoring Hub<> methods.

@ryanwersal
Copy link
Owner Author

Manually merged into master since all the open PRs dependend on each other quite a bit. I'm incorporating the feedback as a new PR.

@ryanwersal ryanwersal closed this Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants