GdUnit3 v2.4.0
GdUnit3 v2.4.0
-----------------------------------------------
It is strongly recommended to restart Godot after the update.
-----------------------------------------------
What's Changed
GdUnit had a major bug in the InputEvent handling on SceneRunner.
The input handling is now completely reworked and you may need to adjust your test if you use it.
It is now necessary to terminate the simulation of a key or mouse input with a manual wait.
# simulate the enter key is pressed
runner.simulate_key_pressed(KEY_ENTER)
yield(await_idle_frame(), "completed")
Other Changes
-
GD-347: Allow to compare real vs int typed dictionary #347
-
GD-349: Don't report -1 as failure line number at runtime mode #349
-
GD-350: Stop inspector spinner when testcase is manually stopped #350
-
GD-356: Fix Error on console when tests detects an orphan node #356
-
GD-358: Fix test parameter parsing of parameterized tests with String arguments #358
-
GD-362: Spy on a implemented virtual function like _input is not working #362
-
GD-351: Fix SceneRunner to propagate input events in the right way #351
- This is bigger update and it needs to await for a minimum of one frame to be work correctly
- Read carefully the documentation about input events
-
GD-353: Update GdUnit Documentation to v2.4.0
Full Changelog: v2.3.1...v2.4.0