Skip to content

Conversation

@TFSMads
Copy link
Contributor

@TFSMads TFSMads commented Oct 30, 2025

Problem

The Skript project currently has very low test coverage for its existing syntax and no recent list of test coverage.

Solution

This PR adds tests for the following syntax:

  • EffMakeEggHatch
  • EffElytraBoostConsume
  • EffChange
  • EffCommand
  • EffExit
  • EffKill
  • EffReturn
  • EffTame
  • SecCatchErrors
  • SecLoop

This PR also adds an up to date list of test coverage.

Testing Completed

Tests have been tested on versions 1.20.6, 1.21.3, 1.21.4, 1.21.5, 1.21.8 and 1.21.10.

Supporting Information


Completes: none
Related: #6158

@TFSMads TFSMads requested a review from a team as a code owner October 30, 2025 13:11
@TFSMads TFSMads requested review from TheMug06 and cheeezburga and removed request for a team October 30, 2025 13:11
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Oct 30, 2025
To run individual test files, use <code>/sk test \<file\></code>. To run last
used file again, just use <code>/sk test</code>.

## Test Coverage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is bound to become outdated, should we keep it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that it could potentially become outdated, but I still think it’s valuable to keep. The test coverage list provides a clear overview of what’s currently tested and helps identify missing tests, especially for new contributors. Even if it requires occasional updates, it serves as useful documentation for anyone working on improving test coverage.

TFSMads and others added 2 commits November 2, 2025 13:41
…s/EffElytraBoostConsumeTest.java

Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs reviews A PR that needs additional reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants