class Lapis::Test::Registry

Defined in:

libgodot/testing.cr

Class Method Summary

Class Method Detail

def self.after_all(category : String = "global", &block : Godot::Node -> Void) #

def self.after_each(category : String = "global", &block : Godot::Node -> Void) #

def self.all_tests : Array(TestCase) #

def self.before_all(category : String = "global", &block : Godot::Node -> Void) #

def self.before_each(category : String = "global", &block : Godot::Node -> Void) #

def self.categories : Array(String) #

def self.clear : Void #

def self.for_category(category : String) : Array(TestCase) #

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_after_all(category : String, context_node : Godot::Node) #

def self.run_after_each(category : String, context_node : Godot::Node) #

def self.run_all(context_node : Godot::Node, filter : String | Nil = nil, category_filter : String | Nil = nil) : Array(TestResult) #

def self.run_before_all(category : String, context_node : Godot::Node) #

def self.run_before_each(category : String, context_node : Godot::Node) #

def self.run_category(category : String, context_node : Godot::Node, filter : String | Nil = nil) : Array(TestResult) #