mirror of
https://github.com/chylex/Better-Sprinting.git
synced 2024-10-17 08:42:50 +02:00
3.5 KiB
3.5 KiB
Complete test procedure
1. Controls Menu
- Click [Options] -> [Controls]
-
- ✔ [Better Sprinting] button appears in place of [Auto-Jump] button
-
- ✔ [Sprint] keybinding is removed
- Click [Better Sprinting]
-
- ✔ All option buttons and labels are aligned properly
-
- ✔ All option buttons have a tooltip
- Click [Disable mod]
-
- ✔ All other option buttons except for [Sprint], [Mod configuration], [Auto-jump] become disabled
2. In-game Vanilla
- Transformer
-
- ✔ Print out transformed instructions and ensure they make sense
-
- ✔ Do a cursory check in-game with the mod disabled
- Press the [Sprint menu] key
-
- ✔ Ensure clicking [Controls] and then [Done] returns to the sprint menu
- Click [Disable mod] again to re-enable the mod
3. In-game Custom
- Single key bindings
-
- ✔ Sprint (tap & hold)
-
- ✔ Sprint (toggle)
-
- ✔ Sneak (toggle)
-
- ✔ Ensure modifier combos work as expected
- Combined key bindings
-
- ✔ While sprinting, hold sneak (hold) key to sneak, release to resume sprint
-
- ✔ While sprinting, press sneak (toggle) key to sneak, press again to resume sprint
-
- ✔ While sprinting after tapping or toggling, press the sprint key to stop sprinting
-
- ✔ While toggle sneaking, press the sneak key to stop sneaking
-
- ✔ While sneaking, both forms of sprinting are blocked
- Ensure remaining options behave as expected
-
- ✔ Double tapping
-
- ✔ Run in all directions
-
- ✔ Fly boost
-
- ✔ Fly on ground
-
- ✔ Auto-jump
- Test special interactions
-
- ✔ While toggle sneaking, open chat/inventory/pause menu to stop sneaking, close menu to resume sneaking
-
- ✔ While submerged in water, all forms of sprinting trigger swimming
- Run
/effect give @p minecraft:blindness 5 0
-
- ✔ Ensure sprinting is blocked
- Run
/effect give @p minecraft:hunger 10 255
-
- ✔ Ensure sprinting stops once hunger drops too low
4. Modded Client + Modded Server
- Install the mod on client and server, and connect
-
- ✔ Ensure
/bettersprinting
is only available to operators
- ✔ Ensure
-
- ✔ The mod works and sprinting in all directions is disabled
- Run
/bettersprinting setting runInAllDirs true
-
- ✔ Sprinting in all directions can now be controlled in sprint menu
-
- ✔ Restarting the server remembers the setting
- Run
/bettersprinting setting runInAllDirs false
-
- ✔ Sprinting in all directions no longer works
- Run
/bettersprinting disablemod true
-
- ✔ Client receives a notification message
-
- ✔ Vanilla mechanics are forced as if [Disable mod] was enabled
-
- ✔ Logging out and back in displays the message and keeps vanilla mechanics
-
- ✔ Restarting the server remembers the setting
- Switch to a supported language other than English
- Run
/bettersprinting disablemod false
-
- ✔ Client receives a notification message (in the selected language)
-
- ✔ Modded mechanics are restored
- Manually turn on [Disable mod]
-
- ✔ Running the
disablemod
commands again does not show a notification message
- ✔ Running the
5. Modded Client + Vanilla Server
- Run vanilla server, and connect
-
- ✔ The mod works and sprinting in all directions is disabled
6. Vanilla Client + Modded Server
- Run modded server, switch to vanilla client, and connect
- Run
/bettersprinting disablemod true
-
- ✔ Client does not receive a notification message
-
- ✔ Command response is displayed in English