struct Spectator::Report::Counts

Overview

Records the number of examples that had each type of result.

Defined in:

spectator/report.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def self.new(pass = 0, fail = 0, error = 0, pending = 0, remaining = 0) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(pass _pass = @pass, fail _fail = @fail, error _error = @error, pending _pending = @pending, remaining _remaining = @remaining) #

[View source]
def error : Int32 #

def fail : Int32 #

def pass : Int32 #

def pending : Int32 #

def remaining : Int32 #

def remaining? #

Indicates whether there were skipped tests because of a failure causing the test suite to abort.


[View source]
def run #

Number of examples that actually ran.


[View source]
def total #

Total number of examples in the suite that were selected to run.


[View source]