Skip to content

GutTest

Inherits: Node

Properties

Type Name Default
Variant gut null
Variant DOUBLE_STRATEGY {"INCLUDE_NATIVE": 0, "SCRIPT_ONLY": 1}
Variant ParameterFactory
Variant CompareResult
Variant InputFactory
Variant InputSender

Methods

Returns Signature
void before_all()
void before_each()
void after_all()
void after_each()
Variant get_logger()
void set_logger(logger: Variant)
void assert_eq(got: Variant, expected: Variant, text: Variant = "")
void assert_ne(got: Variant, not_expected: Variant, text: Variant = "")
void assert_almost_eq(got: Variant, expected: Variant, error_interval: Variant, text: Variant = "")
void assert_almost_ne(got: Variant, not_expected: Variant, error_interval: Variant, text: Variant = "")
void assert_gt(got: Variant, expected: Variant, text: Variant = "")
void assert_lt(got: Variant, expected: Variant, text: Variant = "")
void assert_true(got: Variant, text: Variant = "")
void assert_false(got: Variant, text: Variant = "")
void assert_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")
void assert_not_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")
void assert_has(obj: Variant, element: Variant, text: Variant = "")
void assert_does_not_have(obj: Variant, element: Variant, text: Variant = "")
void assert_file_exists(file_path: Variant)
void assert_file_does_not_exist(file_path: Variant)
void assert_file_empty(file_path: Variant)
void assert_file_not_empty(file_path: Variant)
void assert_has_method(obj: Variant, method: Variant, text: Variant = "")
void assert_accessors(obj: Variant, property: Variant, default: Variant, set_to: Variant)
void assert_exports(obj: Variant, property_name: Variant, type: Variant)
void watch_signals(object: Variant)
void assert_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")
void assert_not_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")
void assert_signal_emitted(object: Variant, signal_name: Variant, text: Variant = "")
void assert_signal_not_emitted(object: Variant, signal_name: Variant, text: Variant = "")
void assert_signal_emitted_with_parameters(object: Variant, signal_name: Variant, parameters: Variant, index: Variant = -1)
void assert_signal_emit_count(object: Variant, signal_name: Variant, times: Variant, text: Variant = "")
void assert_has_signal(object: Variant, signal_name: Variant, text: Variant = "")
Variant get_signal_emit_count(object: Variant, signal_name: Variant)
Variant get_signal_parameters(object: Variant, signal_name: Variant, index: Variant = -1)
Variant get_call_parameters(object: Variant, method_name: Variant, index: Variant = -1)
Variant get_call_count(object: Variant, method_name: Variant, parameters: Variant = null)
void assert_is(object: Variant, a_class: Variant, text: Variant = "")
void assert_typeof(object: Variant, type: Variant, text: Variant = "")
void assert_not_typeof(object: Variant, type: Variant, text: Variant = "")
void assert_string_contains(text: Variant, search: Variant, match_case: Variant = true)
void assert_string_starts_with(text: Variant, search: Variant, match_case: Variant = true)
void assert_string_ends_with(text: Variant, search: Variant, match_case: Variant = true)
void assert_called(inst: Variant, method_name: Variant, parameters: Variant = null)
void assert_not_called(inst: Variant, method_name: Variant, parameters: Variant = null)
void assert_call_count(inst: Variant, method_name: Variant, expected_count: Variant, parameters: Variant = null)
void assert_null(got: Variant, text: Variant = "")
void assert_not_null(got: Variant, text: Variant = "")
void assert_freed(obj: Variant, title: Variant = "something")
void assert_not_freed(obj: Variant, title: Variant)
void assert_no_new_orphans(text: Variant = "")
void assert_setget(instance: Variant, name_property: Variant, const_or_setter: Variant = null, getter: Variant = "not_set")
void assert_set_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)
void assert_readonly_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)
void assert_property_with_backing_variable(obj: Variant, property_name: Variant, default_value: Variant, new_value: Variant, backed_by_name: Variant = null)
void assert_property(obj: Variant, property_name: Variant, default_value: Variant, new_value: Variant)
void pending(text: Variant = "")
Variant wait_seconds(time: Variant, msg: Variant = "")
Variant yield_for(time: Variant, msg: Variant = "")
Variant wait_for_signal(sig: Variant, max_wait: Variant, msg: Variant = "")
Variant yield_to(obj: Variant, signal_name: Variant, max_wait: Variant, msg: Variant = "")
Variant wait_frames(frames: Variant, msg: Variant = "")
Variant yield_frames(frames: Variant, msg: Variant = "")
Variant get_summary()
Variant get_fail_count()
Variant get_pass_count()
Variant get_pending_count()
Variant get_assert_count()
void clear_signal_watcher()
Variant get_double_strategy()
void set_double_strategy(double_strategy: Variant)
void pause_before_teardown()
Variant get_summary_text()
Variant double(thing: Variant, double_strat: Variant = null, not_used_anymore: Variant = null)
Variant partial_double(thing: Variant, double_strat: Variant = null, not_used_anymore: Variant = null)
Variant double_singleton(singleton_name: Variant)
Variant partial_double_singleton(singleton_name: Variant)
Variant double_scene(path: Variant, strategy: Variant = null)
Variant double_script(path: Variant, strategy: Variant = null)
Variant double_inner(path: Variant, subpath: Variant, strategy: Variant = null)
void ignore_method_when_doubling(thing: Variant, method_name: Variant)
Variant stub(thing: Variant, p2: Variant, p3: Variant = null)
void simulate(obj: Variant, times: Variant, delta: Variant, check_is_processing: bool = false)
void replace_node(base_node: Variant, path_or_node: Variant, with_this: Variant)
Variant use_parameters(params: Variant)
Variant autofree(thing: Variant)
Variant autoqfree(thing: Variant)
Variant add_child_autofree(node: Variant, legible_unique_name: Variant = false)
Variant add_child_autoqfree(node: Variant, legible_unique_name: Variant = false)
Variant is_passing()
Variant is_failing()
void pass_test(text: Variant)
void fail_test(text: Variant)
Variant compare_deep(v1: Variant, v2: Variant, max_differences: Variant = null)
Variant compare_shallow(v1: Variant, v2: Variant, max_differences: Variant = null)
void assert_eq_deep(v1: Variant, v2: Variant)
void assert_ne_deep(v1: Variant, v2: Variant)
void assert_eq_shallow(v1: Variant, v2: Variant)
void assert_ne_shallow(v1: Variant, v2: Variant)
void assert_same(v1: Variant, v2: Variant, text: Variant = "")
void assert_not_same(v1: Variant, v2: Variant, text: Variant = "")
Variant skip_if_godot_version_lt(expected: Variant)
Variant skip_if_godot_version_ne(expected: Variant)
void register_inner_classes(base_script: Variant)

Property Descriptions

gut

Variant gut = null

Note

There is currently no description for this property. Please help us by contributing one!

DOUBLE_STRATEGY

Variant DOUBLE_STRATEGY = {"INCLUDE_NATIVE": 0, "SCRIPT_ONLY": 1}

Note

There is currently no description for this property. Please help us by contributing one!

ParameterFactory

Variant ParameterFactory

Note

There is currently no description for this property. Please help us by contributing one!

CompareResult

Variant CompareResult

Note

There is currently no description for this property. Please help us by contributing one!

InputFactory

Variant InputFactory

Note

There is currently no description for this property. Please help us by contributing one!

InputSender

Variant InputSender

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

before_all()

void before_all()

Note

There is currently no description for this method. Please help us by contributing one!

before_each()

void before_each()

Note

There is currently no description for this method. Please help us by contributing one!

after_all()

void after_all()

Note

There is currently no description for this method. Please help us by contributing one!

after_each()

void after_each()

Note

There is currently no description for this method. Please help us by contributing one!

get_logger()

Variant get_logger()

Note

There is currently no description for this method. Please help us by contributing one!

set_logger()

void set_logger(logger: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_eq()

void assert_eq(got: Variant, expected: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_ne()

void assert_ne(got: Variant, not_expected: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_almost_eq()

void assert_almost_eq(got: Variant, expected: Variant, error_interval: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_almost_ne()

void assert_almost_ne(got: Variant, not_expected: Variant, error_interval: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_gt()

void assert_gt(got: Variant, expected: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_lt()

void assert_lt(got: Variant, expected: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_true()

void assert_true(got: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_false()

void assert_false(got: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_between()

void assert_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_between()

void assert_not_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_has()

void assert_has(obj: Variant, element: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_does_not_have()

void assert_does_not_have(obj: Variant, element: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_file_exists()

void assert_file_exists(file_path: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_file_does_not_exist()

void assert_file_does_not_exist(file_path: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_file_empty()

void assert_file_empty(file_path: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_file_not_empty()

void assert_file_not_empty(file_path: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_has_method()

void assert_has_method(obj: Variant, method: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_accessors()

void assert_accessors(obj: Variant, property: Variant, default: Variant, set_to: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_exports()

void assert_exports(obj: Variant, property_name: Variant, type: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

watch_signals()

void watch_signals(object: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_connected()

void assert_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_connected()

void assert_not_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_signal_emitted()

void assert_signal_emitted(object: Variant, signal_name: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_signal_not_emitted()

void assert_signal_not_emitted(object: Variant, signal_name: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_signal_emitted_with_parameters()

void assert_signal_emitted_with_parameters(object: Variant, signal_name: Variant, parameters: Variant, index: Variant = -1)

Note

There is currently no description for this method. Please help us by contributing one!

assert_signal_emit_count()

void assert_signal_emit_count(object: Variant, signal_name: Variant, times: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_has_signal()

void assert_has_signal(object: Variant, signal_name: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

get_signal_emit_count()

Variant get_signal_emit_count(object: Variant, signal_name: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

get_signal_parameters()

Variant get_signal_parameters(object: Variant, signal_name: Variant, index: Variant = -1)

Note

There is currently no description for this method. Please help us by contributing one!

get_call_parameters()

Variant get_call_parameters(object: Variant, method_name: Variant, index: Variant = -1)

Note

There is currently no description for this method. Please help us by contributing one!

get_call_count()

Variant get_call_count(object: Variant, method_name: Variant, parameters: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_is()

void assert_is(object: Variant, a_class: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_typeof()

void assert_typeof(object: Variant, type: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_typeof()

void assert_not_typeof(object: Variant, type: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_string_contains()

void assert_string_contains(text: Variant, search: Variant, match_case: Variant = true)

Note

There is currently no description for this method. Please help us by contributing one!

assert_string_starts_with()

void assert_string_starts_with(text: Variant, search: Variant, match_case: Variant = true)

Note

There is currently no description for this method. Please help us by contributing one!

assert_string_ends_with()

void assert_string_ends_with(text: Variant, search: Variant, match_case: Variant = true)

Note

There is currently no description for this method. Please help us by contributing one!

assert_called()

void assert_called(inst: Variant, method_name: Variant, parameters: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_called()

void assert_not_called(inst: Variant, method_name: Variant, parameters: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_call_count()

void assert_call_count(inst: Variant, method_name: Variant, expected_count: Variant, parameters: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_null()

void assert_null(got: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_null()

void assert_not_null(got: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_freed()

void assert_freed(obj: Variant, title: Variant = "something")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_freed()

void assert_not_freed(obj: Variant, title: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_no_new_orphans()

void assert_no_new_orphans(text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_setget()

void assert_setget(instance: Variant, name_property: Variant, const_or_setter: Variant = null, getter: Variant = "not_set")

Note

There is currently no description for this method. Please help us by contributing one!

assert_set_property()

void assert_set_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_readonly_property()

void assert_readonly_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_property_with_backing_variable()

void assert_property_with_backing_variable(obj: Variant, property_name: Variant, default_value: Variant, new_value: Variant, backed_by_name: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_property()

void assert_property(obj: Variant, property_name: Variant, default_value: Variant, new_value: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

pending()

void pending(text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

wait_seconds()

Variant wait_seconds(time: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

yield_for()

Variant yield_for(time: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

wait_for_signal()

Variant wait_for_signal(sig: Variant, max_wait: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

yield_to()

Variant yield_to(obj: Variant, signal_name: Variant, max_wait: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

wait_frames()

Variant wait_frames(frames: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

yield_frames()

Variant yield_frames(frames: Variant, msg: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

get_summary()

Variant get_summary()

Note

There is currently no description for this method. Please help us by contributing one!

get_fail_count()

Variant get_fail_count()

Note

There is currently no description for this method. Please help us by contributing one!

get_pass_count()

Variant get_pass_count()

Note

There is currently no description for this method. Please help us by contributing one!

get_pending_count()

Variant get_pending_count()

Note

There is currently no description for this method. Please help us by contributing one!

get_assert_count()

Variant get_assert_count()

Note

There is currently no description for this method. Please help us by contributing one!

clear_signal_watcher()

void clear_signal_watcher()

Note

There is currently no description for this method. Please help us by contributing one!

get_double_strategy()

Variant get_double_strategy()

Note

There is currently no description for this method. Please help us by contributing one!

set_double_strategy()

void set_double_strategy(double_strategy: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

pause_before_teardown()

void pause_before_teardown()

Note

There is currently no description for this method. Please help us by contributing one!

get_summary_text()

Variant get_summary_text()

Note

There is currently no description for this method. Please help us by contributing one!

double()

Variant double(thing: Variant, double_strat: Variant = null, not_used_anymore: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

partial_double()

Variant partial_double(thing: Variant, double_strat: Variant = null, not_used_anymore: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

double_singleton()

Variant double_singleton(singleton_name: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

partial_double_singleton()

Variant partial_double_singleton(singleton_name: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

double_scene()

Variant double_scene(path: Variant, strategy: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

double_script()

Variant double_script(path: Variant, strategy: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

double_inner()

Variant double_inner(path: Variant, subpath: Variant, strategy: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

ignore_method_when_doubling()

void ignore_method_when_doubling(thing: Variant, method_name: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

stub()

Variant stub(thing: Variant, p2: Variant, p3: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

simulate()

void simulate(obj: Variant, times: Variant, delta: Variant, check_is_processing: bool = false)

Note

There is currently no description for this method. Please help us by contributing one!

replace_node()

void replace_node(base_node: Variant, path_or_node: Variant, with_this: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

use_parameters()

Variant use_parameters(params: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

autofree()

Variant autofree(thing: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

autoqfree()

Variant autoqfree(thing: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

add_child_autofree()

Variant add_child_autofree(node: Variant, legible_unique_name: Variant = false)

Note

There is currently no description for this method. Please help us by contributing one!

add_child_autoqfree()

Variant add_child_autoqfree(node: Variant, legible_unique_name: Variant = false)

Note

There is currently no description for this method. Please help us by contributing one!

is_passing()

Variant is_passing()

Note

There is currently no description for this method. Please help us by contributing one!

is_failing()

Variant is_failing()

Note

There is currently no description for this method. Please help us by contributing one!

pass_test()

void pass_test(text: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

fail_test()

void fail_test(text: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

compare_deep()

Variant compare_deep(v1: Variant, v2: Variant, max_differences: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

compare_shallow()

Variant compare_shallow(v1: Variant, v2: Variant, max_differences: Variant = null)

Note

There is currently no description for this method. Please help us by contributing one!

assert_eq_deep()

void assert_eq_deep(v1: Variant, v2: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_ne_deep()

void assert_ne_deep(v1: Variant, v2: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_eq_shallow()

void assert_eq_shallow(v1: Variant, v2: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_ne_shallow()

void assert_ne_shallow(v1: Variant, v2: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

assert_same()

void assert_same(v1: Variant, v2: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

assert_not_same()

void assert_not_same(v1: Variant, v2: Variant, text: Variant = "")

Note

There is currently no description for this method. Please help us by contributing one!

skip_if_godot_version_lt()

Variant skip_if_godot_version_lt(expected: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

skip_if_godot_version_ne()

Variant skip_if_godot_version_ne(expected: Variant)

Note

There is currently no description for this method. Please help us by contributing one!

register_inner_classes()

void register_inner_classes(base_script: Variant)

Note

There is currently no description for this method. Please help us by contributing one!