- Supported Minecraft Versions
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
Skester let you create your own unit tests using Skript. Why should you make unit tests? Simply because you can avoid bugs in your scripts. Unit tests will repeat the same tasks that you ask, so if one of them fail but worked before, it means you broke something.
Usage:
Write tests:
Code:
command test [<text>]:
trigger:
it "checks the sender":
assert if sender is player with message "The sender should be a player"
it "checks permissions":
assert if player is op with message "The player should be OP!"
it "checks argument":
assert not null arg-1 with message "First argument should not be null"
assert equals arg-1 to "this" with message "First argument should be ""this"""
And get results:
Feel free to report any problems or suggestions to me at the following link: https://github.com/Olyno/skester/issues