- Supported Minecraft Versions
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.
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: