struct

Spectator::Report::Counts

Inherits Struct / Value / Object

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

Constructors

new(pass : Int32 = 0, fail : Int32 = 0, error : Int32 = 0, pending : Int32 = 0, remaining : Int32 = 0)
Source

Instance methods

clone
Source
copy_with(pass _pass = @pass, fail _fail = @fail, error _error = @error, pending _pending = @pending, remaining _remaining = @remaining)
Source
error
fail
pass
pending
remaining
remaining?

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

Source
run

Number of examples that actually ran.

Source
total

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

Source