Skip to content

Make Bot testable and add unit tests. #75

@brooklynDev

Description

@brooklynDev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions