Releases: MikeSchulze/gdUnit3
Releases · MikeSchulze/gdUnit3
GdUnit3 v1.0.6
GdUnit3 v1.0.6
Improvements
-
added assert_func to allow to wait for a specific return value #154
-
added assert_signal to wait for a specific signal until a specific time #155
-
Added -conf option to Command Line Tool to load latest test execution configuration (#163)
-
Scene Runner
Bug Fixes
GdUnit3 v1.0.5
GdUnit3 v1.0.5 - Critical patch for MacOS
!!ATTENTION!!
Please Read this before!
After upgrading a restart of Godot is strongly recommended
If Godot hangs kill the Godot process manually
After upgrading and fresh start the Godot should close normally
Bug Fixes
- MacOS: Fixes Godot crashes when closing #144
GdUnit3 v1.0.4
GdUnit3 v1.0.4
!!ATTENTION!!
After upgrading a restart of Godot is strongly recommended
Improvements
- Improve the value extractor extr to support a function chaining #133
- Add ignore return_value_discarded and unused_argument as default to generated test suite #135
- Small performance improvement to update the GdUnitInspector items #138
- Added Godot 3.3.3, mono-3.3.3 to CI pipeline
- The assetlib version now not shows .gitmodules when download the plugin #140
- GdUnitToolsDialog : The TestSuite template is now customizable #142
Bug Fixes
- GdUnitToolsDialog : fix show release info on windows by normalizite text
- GdUnitToolsDialog : Fix problems after upgrade from 1.0.2 to 1.0.3
- Running tests from the context menu in Godot 3.3.3 fails under certain circumstances fixed #141
GdUnit3 v1.0.3
GdUnit3 v1.0.3
!!ATTENTION!!
After upgrading to 1.0.3, a restart of Godot is strongly recommended
For more details see GD-139: Plugin is broken after Update from 1.0.2 to 1.0.3
Improvements
- GdUnit3Inspector
- Changes wiki button to doc tool button
- Added new tool button to configure GdUnit3 Settings (#89 )
- ArrayAssert
- You can now use function name chaning on extract functions by using function names separated by a dot #133
# get_parent.get_name -> like get_parent().get_name() to extraxt the name from the parent assert_arrary(nodes).extract("get_parent.get_name").contains("name_a", "name_b")
Bug Fixes
GdUnit3 v1.0.2
GdUnit3 v1.0.2
Improvements
- GdUnitArrayAssert
- Added contains_exactly_in_any_order to GdUnitArrayAssert #122
- improved error messages for
contains
,contains_exactly
- improved error messages for
- Added contains_exactly_in_any_order to GdUnitArrayAssert #122
- Scene testing
- Add time shift function to
GdUnitSceneRunner
to speedup scene simulation #120
- Add time shift function to
# Sets how fast or slow the scene simulation is processed (clock ticks versus the real).
# It defaults to 1.0. A value of 2.0 means the game moves twice as fast as real life,
# whilst a value of 0.5 means the game moves at half the regular speed.
func set_time_factor(time_factor := 1.0) -> GdUnitSceneRunner:
# Simulates scene processing for a certain number of frames
# frames: amount of frames to process
func simulate_frames(frames: int) -> GdUnitSceneRunner:
Example
_runner = scene_runner(_scene)
# set time factor to 10 to simulate the scene very fast
_runner.set_time_factor(10)
# run the scene for 10 frames
yield(_runner.simulate_frames(10), "completed")
Bug Fixes
- fixes invalid update states on the inspector for test-suites with same names #117
GdUnit3 v1.0.1
GdUnit3 v1.0.0
GdUnit3 v1.0.0 - The first production-ready release
Improvements
-
SceneRunner
- added
simulate
# Simulates scene processing for a certain number of frames by given delta peer frame # frames: amount of frames to process # delta_peer_frame: the time delta between a frame in ms func simulate(frames: int, delta_peer_frame :float) -> GdUnitSceneRunner:
- added
simulate_until_signal
# Simulates scene processing until the given signal is emited by the scene # signal_name: the signal to stop the simulation # arg..: optional signal arguments to be match for stop func simulate_until_signal(signal_name :String, arg0 = null, arg1 = null, arg2 = null, arg3 = null, arg4 = null, arg5 = null) -> GdUnitSceneRunner:
- added
-
Spy
- allows now to use the resource path to build a spy from a scene
spy(<scene path>)
- allows now to use the resource path to build a spy from a scene
-
Advanced Example
- added Room3dDemo as show case how to use the new scene runner
simulate
functions
- added Room3dDemo as show case how to use the new scene runner
Bug Fixes
- fix problems with freeing scene runner after test run
GdUnit3 v0.9.7-rc
GdUnit3 v0.9.7 - Release Candidate
Improvements
-
Added Update Notifier to be notify for a new GdUnit3 version is abailable
- The update is shown on startup when a higher GdUnit version is available on Github
- The popup shows the release info
- Pressing the update button will install the latest version without any extra steps
-
Fuzzers:
Fuzzers.rand_str(<min>, <max>, <pattern>)
added new fuzzer to generate random string by given pattern
Bug Fixes
- General
- Asserts
- Fix stack overflow on assert_str().is_equal() on large values (#100 )
GdUnit 0.9.6-rc
GdUnit3 v0.9.6 - Release Candidate
General Changes
- Moved GdCommon packed to GdUnit3 core
- Renamed
examples
package togdUnit3-examples
Improvements
- Asserts:
- assert_that() now alowes to test on non build-in type (#81 )
- Inspector
- Added navigation buttons to spep to next or previous failure (#83 )
Bug Fixes
GdUnit3 0.9.5-rc
GdUnit3 v0.9.5 - Release Candidate
Improvements
- Asserts:
- Fuzzers:
- Added 'rangev2' to generate random Vector2 values
- Added 'rangev3' to generate random Vector3 values
- one or more fuzzers are now allowed for a test case (#71)
- GitHub Action
- Added GitHub action to automatic trigger selftest on push events (tests against Godot 3.2.3, 3.3, 3.3.1, 3.3.2) (#74 )