GutMain
Inherits: “addons/gut/gut_to_move.gd”
The GUT brains.
Description
This is responsible for everything. There aren’t a lot of things you should be doing with this, but there are some edge cases where you can/should interact with the instance of this that is making all the magic happen.
Properties
|
||
|
Methods
Property Descriptions
Variant log_level = _log_level 🔗
void @log_level_setter(value)
Variant @log_level_getter()
The log detail level. Valid values are 0 - 2. Larger values do not matter.
Variant add_children_to = <unknown> 🔗
void @add_children_to_setter(value)
Variant @add_children_to_getter()
Sets the object that GUT will add test objects to as it creates them. The default is self, but can be set to other objects so that GUT is not obscured by the objects added during tests.
Method Descriptions
Get the number of assertions that were made
Get the number of assertions that passed
Get the number of assertions that failed
Get the number of tests flagged as pending
Returns a summary.gd object that contains all the information about the run results.
Variant get_test_script_count() 🔗
Returns the number of test scripts. Inner Test classes each count as a script.