-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Labels
enhancementFeature request, an issue about something that could be improved, or a PR improving something.Feature request, an issue about something that could be improved, or a PR improving something.good first issueAn issue that would be good for a first-time contributor to make a PR forAn issue that would be good for a first-time contributor to make a PR forpriority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements)."Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).unit testingFor issues/PRs related to the Skript unit testing system.For issues/PRs related to the Skript unit testing system.variablesRelated to variables and/or storing them.Related to variables and/or storing them.
Description
Tests should be created for all current + future async effects ensuring that local variables function properly before and after their execution. For example:
test "teleport local variable persistence":
set {localTest::EffTeleport} to random uuid
set {_local} to {localTest::EffTeleport}
spawn a creeper
teleport last spawned entity to spawn of (world of last spawned entity)
assert {_local} is {localTest::EffTeleport} with "local variable does not match (%{_local}% != %{localTest::EffTeleport}%)"
APickledWalrus, Misio12320 and ShaneBeeeAPickledWalrus and ShaneBeee
Metadata
Metadata
Assignees
Labels
enhancementFeature request, an issue about something that could be improved, or a PR improving something.Feature request, an issue about something that could be improved, or a PR improving something.good first issueAn issue that would be good for a first-time contributor to make a PR forAn issue that would be good for a first-time contributor to make a PR forpriority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements)."Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).unit testingFor issues/PRs related to the Skript unit testing system.For issues/PRs related to the Skript unit testing system.variablesRelated to variables and/or storing them.Related to variables and/or storing them.