This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+3 votes

Announcing a new version of GUT. GUT is a Unit Testing framework for the Godot Game Engine available via GitHub and the Godot Asset Library.
* https://godotengine.org/asset-library/asset/54
* https://github.com/bitwes/Gut/wiki
* https://github.com/bitwes/Gut

Tutorials:
* https://github.com/bitwes/Gut/wiki/Tutorials

6.8.1

Features

  • Godot 3.2 compatible.
  • Issue 124 CodeDarigan added the assert_freed and assert_not_freed methods.
  • Issue 130 GUT now lists the exact line number of a failing test in all cases instead of just the method number in non-inner classes. Thanks to mschulzeLpz for adding get_stack magic.
  • Issue 133 You can now double/partial_double/stub/spy Native classes like Node2D and Raycast2D. Syntax is the same.
  • Issue 139 There are now pre and post run script hooks that allow you to run your own code before any tests are run and after all tests are run. This can be useful in setting global values before a run or investigating the results of the run for CICD pipelines and the like. Check the wiki for more info

Bug Fixes

  • Issue 127 The method ignore_method_when_doubling was added as a workaround for doubling scripts that have static methods. The "Doubles" wiki page has more info about this method.
  • Issue 136 Bug can happen when yielding where a attempt to disconnect signal...while emitting can occur. Disconnecting from signals is now done via call_deferred.
in Engine by (141 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.