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
Variant before_all()
Variant before_each()
Variant after_all()
Variant after_each()
Variant get_logger()
Variant set_logger(logger: Variant)
Variant assert_eq(got: Variant, expected: Variant, text: Variant = "")
Variant assert_ne(got: Variant, not_expected: Variant, text: Variant = "")
Variant assert_almost_eq(got: Variant, expected: Variant, error_interval: Variant, text: Variant = "")
Variant assert_almost_ne(got: Variant, not_expected: Variant, error_interval: Variant, text: Variant = "")
Variant assert_gt(got: Variant, expected: Variant, text: Variant = "")
Variant assert_lt(got: Variant, expected: Variant, text: Variant = "")
Variant assert_true(got: Variant, text: Variant = "")
Variant assert_false(got: Variant, text: Variant = "")
Variant assert_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")
Variant assert_not_between(got: Variant, expect_low: Variant, expect_high: Variant, text: Variant = "")
Variant assert_has(obj: Variant, element: Variant, text: Variant = "")
Variant assert_does_not_have(obj: Variant, element: Variant, text: Variant = "")
Variant assert_file_exists(file_path: Variant)
Variant assert_file_does_not_exist(file_path: Variant)
Variant assert_file_empty(file_path: Variant)
Variant assert_file_not_empty(file_path: Variant)
Variant assert_has_method(obj: Variant, method: Variant, text: Variant = "")
Variant assert_accessors(obj: Variant, property: Variant, default: Variant, set_to: Variant)
Variant assert_exports(obj: Variant, property_name: Variant, type: Variant)
Variant watch_signals(object: Variant)
Variant assert_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")
Variant assert_not_connected(signaler_obj: Variant, connect_to_obj: Variant, signal_name: Variant, method_name: Variant = "")
Variant assert_signal_emitted(object: Variant, signal_name: Variant, text: Variant = "")
Variant assert_signal_not_emitted(object: Variant, signal_name: Variant, text: Variant = "")
Variant assert_signal_emitted_with_parameters(object: Variant, signal_name: Variant, parameters: Variant, index: Variant = -1)
Variant assert_signal_emit_count(object: Variant, signal_name: Variant, times: Variant, text: Variant = "")
Variant 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)
Variant assert_is(object: Variant, a_class: Variant, text: Variant = "")
Variant assert_typeof(object: Variant, type: Variant, text: Variant = "")
Variant assert_not_typeof(object: Variant, type: Variant, text: Variant = "")
Variant assert_string_contains(text: Variant, search: Variant, match_case: Variant = true)
Variant assert_string_starts_with(text: Variant, search: Variant, match_case: Variant = true)
Variant assert_string_ends_with(text: Variant, search: Variant, match_case: Variant = true)
Variant assert_called(inst: Variant, method_name: Variant, parameters: Variant = null)
Variant assert_not_called(inst: Variant, method_name: Variant, parameters: Variant = null)
Variant assert_call_count(inst: Variant, method_name: Variant, expected_count: Variant, parameters: Variant = null)
Variant assert_null(got: Variant, text: Variant = "")
Variant assert_not_null(got: Variant, text: Variant = "")
Variant assert_freed(obj: Variant, title: Variant = "something")
Variant assert_not_freed(obj: Variant, title: Variant)
Variant assert_no_new_orphans(text: Variant = "")
Variant assert_setget(instance: Variant, name_property: Variant, const_or_setter: Variant = null, getter: Variant = "not_set")
Variant assert_set_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)
Variant assert_readonly_property(obj: Variant, property_name: Variant, new_value: Variant, expected_value: Variant)
Variant 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)
Variant 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()
Variant clear_signal_watcher()
Variant get_double_strategy()
Variant set_double_strategy(double_strategy: Variant)
Variant 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)
Variant ignore_method_when_doubling(thing: Variant, method_name: Variant)
Variant stub(thing: Variant, p2: Variant, p3: Variant = null)
Variant simulate(obj: Variant, times: Variant, delta: Variant, check_is_processing: bool = false)
Variant 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()
Variant pass_test(text: Variant)
Variant 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)
Variant assert_eq_deep(v1: Variant, v2: Variant)
Variant assert_ne_deep(v1: Variant, v2: Variant)
Variant assert_eq_shallow(v1: Variant, v2: Variant)
Variant assert_ne_shallow(v1: Variant, v2: Variant)
Variant assert_same(v1: Variant, v2: Variant, text: Variant = "")
Variant 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)
Variant 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()

Variant before_all()

Note

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

before_each()

Variant before_each()

Note

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

after_all()

Variant after_all()

Note

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

after_each()

Variant 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()

Variant set_logger(logger: Variant)

Note

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

assert_eq()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

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

Note

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

assert_false()

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

Note

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

assert_between()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant watch_signals(object: Variant)

Note

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

assert_connected()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

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

Note

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

assert_not_null()

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

Note

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

assert_freed()

Variant 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()

Variant 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()

Variant assert_no_new_orphans(text: Variant = "")

Note

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

assert_setget()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant set_double_strategy(double_strategy: Variant)

Note

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

pause_before_teardown()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant pass_test(text: Variant)

Note

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

fail_test()

Variant 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()

Variant 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()

Variant 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()

Variant 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()

Variant assert_ne_shallow(v1: Variant, v2: Variant)

Note

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

assert_same()

Variant 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()

Variant 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()

Variant register_inner_classes(base_script: Variant)

Note

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