Code52/jibbr — Issue #75: Make Bot testable and add unit tests.
Author: brooklynDev
Created: 2012-01-17 15:32:19+00:00
State: open

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.