class
Lapis::Test::ColdBootContext
- Lapis::Test::ColdBootContext
- Reference
- Object
Defined in:
libgodot/testing/cold_boot_context.crConstructors
Instance Method Summary
-
#cleanup : Void
Guarantees that ephemeral sandbox files are completely wiped upon completion.
- #godot_exe : String
-
#run_isolated_project(args : Array(String) = [] of String) : TestResult
Executes the isolated project in headless runtime mode
-
#run_isolated_script(script_rel_path : String, args : Array(String) = [] of String) : TestResult
Runs an isolated script in a dedicated headless Godot process with complete environment isolation.
- #sandbox_dir : String
- #test_name : String
-
#write_file(rel_path : String, content : String) : String
Writes an isolated scene, resource, or configuration file into the sandbox.
-
#write_script(rel_path : String, code : String) : String
Writes an isolated test script into the ephemeral sandbox.
Instance methods inherited from class Object
try?(&)try? try?
Constructor Detail
Instance Method Detail
Executes the isolated project in headless runtime mode
def run_isolated_script(script_rel_path : String, args : Array(String) = [] of String) : TestResult
#
Runs an isolated script in a dedicated headless Godot process with complete environment isolation.
Writes an isolated scene, resource, or configuration file into the sandbox.