Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Harness for Plusplus #5

Open
robsiemb opened this issue Oct 4, 2024 · 0 comments
Open

Test Harness for Plusplus #5

robsiemb opened this issue Oct 4, 2024 · 0 comments
Labels
enhancement New feature or request plusplus Related to plusplus

Comments

@robsiemb
Copy link
Contributor

robsiemb commented Oct 4, 2024

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.

@robsiemb robsiemb added enhancement New feature or request plusplus Related to plusplus labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plusplus Related to plusplus
Projects
None yet
Development

No branches or pull requests

1 participant