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

Make Bot testable and add unit tests. #75

Open
brooklynDev opened this issue Jan 17, 2012 · 1 comment
Open

Make Bot testable and add unit tests. #75

brooklynDev opened this issue Jan 17, 2012 · 1 comment

Comments

@brooklynDev
Copy link

Currently the bot correctly relies on an IHubProxy however instead of this getting injected, it's created on the fly in the constructor, thus preventing any simple mocking/stubbing. There's enough logic in the bot itself (and I predict that it'll just grow over time) that warrants a good suite of tests. Once the IHubProxy is injected properly, unit tests should be added to test the various bot commands available.

@brooklynDev
Copy link
Author

I'll tackle this one tonight.

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

No branches or pull requests

1 participant