struct Spectator::Formatting::Components::FailureCommandList

Overview

Produces a list of commands to run failed examples.

Defined in:

spectator/formatting/components/failure_command_list.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(failures : Enumerable(Example)) #

Creates the component. Requires a set of failures to display commands for.


[View source]

Instance Method Detail

def to_s(io) #

Produces the list of commands to run failed examples.


[View source]