jibbr icon indicating copy to clipboard operation
jibbr copied to clipboard

Make Bot testable and add unit tests.

Open brooklynDev opened this issue 14 years ago • 1 comments

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 avatar Jan 17 '12 15:01 brooklynDev

I'll tackle this one tonight.

brooklynDev avatar Jan 17 '12 15:01 brooklynDev