migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.07k stars 70 forks source link

Add local scope subtypes registration interface for tests #385

Closed tishin closed 7 months ago

tishin commented 7 months ago

This replaces global type registration list in tests with local scope lists, allowing each GodotTestCase to register its Godot subtypes before test execution and unregister them after. Should give an option to use private access for subtypes and not to worry about name intersections with subtypes from other tests.

migueldeicaza commented 7 months ago

Oh this is lovely!