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

Add proper scenario-based end to end testing #185

Open
Half-Shot opened this issue Oct 6, 2023 · 1 comment
Open

Add proper scenario-based end to end testing #185

Half-Shot opened this issue Oct 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Half-Shot
Copy link
Contributor

We have some rudimentary unit tests, but what would be good is proper e2e testing of the bot where we can test that the things we want to happen on Matrix actually happen. Having had quite a bit of success with what we did with bridges, my first instinct is to try working on something similar for this (https://github.com/matrix-org/matrix-appservice-irc/tree/develop/spec/e2e).

The harder problem is that the service is currently not especially easy to test, given it depends on a lot of things to exist in the environment rather than passed in. I'm going to have a foray into whether we can split that out enough to run the service in a series of tests, rather than having to do hacks around it.

@Half-Shot Half-Shot added the enhancement New feature or request label Oct 6, 2023
@Half-Shot
Copy link
Contributor Author

This was kicked off with #186 but it needs further work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant