class
Lapis::Test::Registry
- Lapis::Test::Registry
- Reference
- Object
Defined in:
libgodot/testing.crClass Method Summary
- .after_all(category : String = "global", &block : Godot::Node -> Void)
- .after_each(category : String = "global", &block : Godot::Node -> Void)
- .all_tests : Array(TestCase)
- .before_all(category : String = "global", &block : Godot::Node -> Void)
- .before_each(category : String = "global", &block : Godot::Node -> Void)
- .categories : Array(String)
- .clear : Void
- .for_category(category : String) : Array(TestCase)
- .register(category : String, name : String, file : String = "", line : Int32 = 0, cold_boot : Bool = false, &block : Godot::Node -> Void)
- .register_cold_boot(category : String, name : String, file : String = "", line : Int32 = 0, &block : ColdBootContext -> Void)
- .run_after_all(category : String, context_node : Godot::Node)
- .run_after_each(category : String, context_node : Godot::Node)
- .run_all(context_node : Godot::Node, filter : String | Nil = nil, category_filter : String | Nil = nil) : Array(TestResult)
- .run_before_all(category : String, context_node : Godot::Node)
- .run_before_each(category : String, context_node : Godot::Node)
- .run_category(category : String, context_node : Godot::Node, filter : String | Nil = nil) : Array(TestResult)
Class Method Detail
def self.register(category : String, name : String, file : String = "", line : Int32 = 0, cold_boot : Bool = false, &block : Godot::Node -> Void)
#
def self.register_cold_boot(category : String, name : String, file : String = "", line : Int32 = 0, &block : ColdBootContext -> Void)
#
def self.run_all(context_node : Godot::Node, filter : String | Nil = nil, category_filter : String | Nil = nil) : Array(TestResult)
#
def self.run_category(category : String, context_node : Godot::Node, filter : String | Nil = nil) : Array(TestResult)
#