struct Spectator::Formatting::Components::TAPProfile

Overview

Displays profiling information for slow examples in a TAP format. Produces output similar to Profile, but formatted for TAP.

Defined in:

spectator/formatting/components/tap_profile.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should(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(profile : Spectator::Profile) #

Creates the component with the specified profile.


[View source]

Instance Method Detail

def to_s(io : IO) : Nil #

Produces the output containing the profiling information.


[View source]