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
Mangobyte currently doesn't have any testing. This isn't ideal. What I'd like to have is a test framework that can run commands, and verify that at least the command finished without erroring. Then I could give it a couple example inputs for each command, and let it run a suite of those commands. I started work on something like this a while ago (in the 'tests' branch) but with slash commands now being a thing, I wont be able to use any of that. The big missing piece here is some sort of test framework that can call slash commands and monitor the output of them. I'm envisioning that working in 1 of 3 ways:
Some sort of shim/mock implementation that lets me call slash command functions without actually running the bot. If this is possible and robust this would probably the best option because this would also be faster than alternatives.
Maybe at some point discord will allow bots to run slash commands. Then I could just have a bot that calls a bunch of mangobyte commands and monitors the output of the commands. That'd be great and would be a decent way to do this.
A web-based automation thing like Selenium that pretends to be a user on a browser entering slash commands. (this isnt ideal for a number of reasons)
The text was updated successfully, but these errors were encountered:
Mangobyte currently doesn't have any testing. This isn't ideal. What I'd like to have is a test framework that can run commands, and verify that at least the command finished without erroring. Then I could give it a couple example inputs for each command, and let it run a suite of those commands. I started work on something like this a while ago (in the 'tests' branch) but with slash commands now being a thing, I wont be able to use any of that. The big missing piece here is some sort of test framework that can call slash commands and monitor the output of them. I'm envisioning that working in 1 of 3 ways:
The text was updated successfully, but these errors were encountered: