Stability of Skript tends to vary a lot. If we had a complete test suite of scripts which could be used to check pull requests (and my own changes, too...) and especially, ran before the release, the situation would likely improve a lot.
Now, I don't quite have time to write such a complete test collection. But perhaps some of you could help?
If interested, message here about what exactly you would be writing tests for. We don't want duplicate work. Scripts can be submitted as pull requests or, if that is too hard, copied somewhere for me to merge in. They must be licensed under GPLv3 as all other code contributions are. No license headers necessary, though.
Some style guidance:
Should/could new test scripts be based off of the current default scripts in the scripts folder?
I'm not sure, need to talk with people who're interested in helping with this.
- Don't use addons
lol why
Because the point is to test Skript, not its addons. We are not responsible for addons.
oooo i get it now
I recently open sourced all of my code, perhaps it can help you. I do however use basically every addon and have no sense of what code uses addons and what doesn't. Perhaps you can pick and choose.
I'm down. If you could like make a list or whatever I can make anything.
inventory click event with title of gui isn't working
inventory type isnt working
I will write 2 tests:
I will write a test api too to make it cleaner if anyone want contribute too. I will put these tests in a branch named "tests" or something like that and make the pull request in few days.
Testing system has been merged, and we're ready to start accepting tests in pull requests. Further improvements will be done as needed.
Most helpful comment
Because the point is to test Skript, not its addons. We are not responsible for addons.