EnvironmentTestFactory

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Environment Test Factory

Source File: /addons/grid_building/test/factories/environment_test_factory.gd

Extends: RefCounted

Public Methods

validate_environment_setup

1
2
3
4
validate_environment_setup(
    env: AllSystemsTestEnvironment,
    context: String = "Test environment"
) -> bool

Flags: static

Validates that an environment is properly set up without issues @param env: The environment to validate @param context: Context string for error messages


validate_required_dependencies

1
2
3
4
validate_required_dependencies(
    env: AllSystemsTestEnvironment,
    required_systems: Array[String] = []
) -> bool

Flags: static

Validates that required dependencies are available from environment @param env: The environment to validate @param required_systems: Array of system names to check


Private Methods

_prepare_test_environment

1
2
3
4
_prepare_test_environment(
    test: GdUnitTestSuite,
    env: GBTestEnvironment
) -> bool

Flags: static, private

Add shared test suite setup so it is parented and tears down after test properly. Validates environment setup and fails test if issues found.


_validate_test_environment

1
_validate_test_environment(env: GBTestEnvironment) -> bool

Flags: static, private

Validates that an environment is properly set up without issues



Grid Building v5.0.8 | Generated 24/05/2026