Skip to content

Create unit tests for IRC action handler functionality #378

Open
@Tjzabel

Description

@Tjzabel

Summary

IRC messages can also contain actions (/me). We currently do not have unit tests for this functionality.

Background

Is your improvement related to a problem? Please describe:

Not related to a direct problem.

Describe the solution you'd like:

Unit testing needs to cover various ACTION commands to make sure everything works smoothly.

Describe alternatives you've considered:

No other alternatives.

Details

The girc library makes use of an isAction function to see if a given message contains an action (i.e. /me). We need to figure out the best way to mock an action and test for it.

Outcome

IRC actions are fully tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IRCIssues relating to the IRC bridgegood first issueGood for newcomershelp wantedAnyone is welcome to help us with this!quality assuranceCI tests, unit tests, integration tests, any kind of testing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions