struct
Lapis::Test::TestResult
- Lapis::Test::TestResult
- Struct
- Value
- Object
Overview
Encapsulates the execution result of a single registered test case
Defined in:
libgodot/testing.crConstructors
Instance Method Summary
- #category : String
- #clone
- #copy_with(category _category = @category, name _name = @name, passed _passed = @passed, message _message = @message, duration_ms _duration_ms = @duration_ms, status _status = @status)
- #duration_ms : Float64
- #fail? : Bool
- #message : String
- #name : String
- #pass? : Bool
- #passed : Bool
- #pending? : Bool
- #skipped? : Bool
- #status : String
Constructor Detail
def self.new(category : String, name : String, passed : Bool, message : String = "", duration_ms : Float64 = 0.0, status : String = "PASS")
#
Instance Method Detail
def copy_with(category _category = @category, name _name = @name, passed _passed = @passed, message _message = @message, duration_ms _duration_ms = @duration_ms, status _status = @status)
#