Skip to content

Test Harness for Plusplus #5

Description

@robsiemb

While all of zdaemon could benefit from a level of testing, plusplus parsing & responses in particular seems like they might be particularly ripe. There's a decent number of tricky corner cases that need to be handled, and thus could benefit from a test suite.

Just off the top of my head:

  • basic functionality (++, --, ~~).
  • timeouts (e.g. once per hour)
  • some special behaviors/filters (e.g. self-plusplussing)
  • slack entities
  • RTL text interactions (both in input and output).

There's some hope, because the slack/zulip design currently gives a partial, but not complete, ability to mock the underlying APIs. For example, you can easily control input and replies, but mocking the database will need special handling. Likewise, slack entity handling isn't easy to mock right now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplusplusRelated to plusplus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions