You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: