struct Spectator::Formatting::Components::FailureCommandList
Overview
Produces a list of commands to run failed examples.
Defined in:
spectator/formatting/components/failure_command_list.crConstructors
-
.new(failures : Enumerable(Example))
Creates the component.
Instance Method Summary
-
#to_s(io : IO) : Nil
Produces the list of commands to run failed examples.
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
Creates the component. Requires a set of failures to display commands for.