Skester

Addon Skester 1.1.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Supported Minecraft Versions
  1. 1.7
  2. 1.8
  3. 1.9
  4. 1.10
  5. 1.11
  6. 1.12
  7. 1.13
  8. 1.14
  9. 1.15
XQHOE9c.png



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:

B2snAB3.png
  • Like
Reactions: Lego_freak1999
Author
Olyno
Downloads
1,296
Views
1,296
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Olyno

Latest updates

  1. If we could go further

    Description: We've always wanted to go further in our tests, like making them more accurate...

Latest reviews

So intelligent a very good addon,




Congrats, this will be an essential addon for everyone
Olyno
Olyno
Thanks for your review!
Feel free to report any problems or suggestions to me at the following link: https://github.com/Olyno/skester/issues