struct Spectator::Report::Counts
- Spectator::Report::Counts
- Struct
- Value
- Object
Overview
Records the number of examples that had each type of result.
Defined in:
spectator/report.crConstructors
Instance Method Summary
- #clone
- #copy_with(pass _pass = @pass, fail _fail = @fail, error _error = @error, pending _pending = @pending, remaining _remaining = @remaining)
- #error : Int32
- #fail : Int32
- #pass : Int32
- #pending : Int32
- #remaining : Int32
-
#remaining?
Indicates whether there were skipped tests because of a failure causing the test suite to abort.
- #run
-
#total
Total number of examples in the suite that were selected to run.
Instance methods inherited from class Object
should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall Ushould(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should, should_eventually(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_eventually, should_never(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_never, should_not(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should_not(matcher : Spectator::Matchers::NilMatcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_not
Constructor Detail
def self.new(pass : Int32 = 0, fail : Int32 = 0, error : Int32 = 0, pending : Int32 = 0, remaining : Int32 = 0)
#
Instance Method Detail
def copy_with(pass _pass = @pass, fail _fail = @fail, error _error = @error, pending _pending = @pending, remaining _remaining = @remaining)
#
def remaining?
#
Indicates whether there were skipped tests because of a failure causing the test suite to abort.