struct Lapis::Test::TestResult

Overview

Encapsulates the execution result of a single registered test case

Defined in:

libgodot/testing.cr

Constructors

Instance Method Summary

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 category : String #

def clone #

def copy_with(category _category = @category, name _name = @name, passed _passed = @passed, message _message = @message, duration_ms _duration_ms = @duration_ms, status _status = @status) #

def duration_ms : Float64 #

def fail? : Bool #

def message : String #

def name : String #

def pass? : Bool #

def passed : Bool #

def pending? : Bool #

def skipped? : Bool #

def status : String #