Skip to content
Godot Unit Test. Unit testing tool for Godot Game Engine.
Branch: master
Clone or download
CodeDarigan and bitwes Remove unused variable from clear_output_directory (#110)
Line 354. Method clear_output_directory creates "var files = []" but seems to never use or return it.
Latest commit 6f7e347 Apr 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addons/gut Remove unused variable from clear_output_directory (#110) Apr 8, 2019
scenes fixed scrolling text_edit with mouse Mar 11, 2019
scratch move doubler_test_objects directory Mar 2, 2019
scripts types redone and a bunch bunch more Mar 7, 2019
templates renamed all setup/teardown methods Sep 23, 2018
test
.gitattributes missed ignoring scratch Feb 16, 2019
.gitignore implemented dir traversal and all the associated options Sep 17, 2018
.gutconfig.json fixing/commenting/by-passing bugs in 3.1 Mar 16, 2019
CHANGES.md Fix several typos (#107) Mar 16, 2019
README.md yet more readme Mar 16, 2019
default_env.tres more integration Apr 8, 2018
icon.png Move everything back to where it was before, but "export-ignore" unwa… Apr 5, 2018
project.godot exporting/importing from main scene Mar 2, 2019

README.md

6.6.0 has a potentially bad bug

Please upgrade to the latest version.

6.6.0 has a bug that can, if everything goes wrong just right, delete files in the root of the project. I only saw it happen when running the test suite for Gut and only the test_doubler.gd test script. I don't recall ever seeing it happen in my own game, but just to be safe you should upgrade.

Gut 6.7.0

GUT (Godot Unit Test) is a utility for writing tests for your Godot Engine game. It allows you to write tests for your gdscript in gdscript.

Features

More info can be found in the wiki.

Upgrading to 6.7.0 from any 6.x version

  • It is not required, but you should remove the existing Gut node for any scenes you have that use it and then re-add it and re-configure it. Re-adding will get rid of the caution symbol next to the control (this is due to changes in inheritance, Gut changed from a WindowDialog to a Control)
  • For the command line, note that the log option in the .gutconfig.json file has changed to log_level for consistency.

License

Gut is provided under the MIT license. License is in addons/gut/LICENSE.md

Getting Started

Here's a short setup tutorial provided by Rainware https://www.youtube.com/watch?v=vBbqlfmcAlc

Here's a couple more wiki links to get you started.

You can’t perform that action at this time.