Class: Protest::Reports::Stories
- Inherits:
-
Protest::Report
- Object
- Protest::Report
- Protest::Reports::Stories
- Includes:
- Utils::ColorfulOutput, Utils::Summaries
- Defined in:
- lib/protest/reports/stories.rb
Overview
This report is based on Citrusbyte’s Stories, by Damian Janowski and Michel Martens.
Defined Under Namespace
Classes: PDF
Instance Attribute Summary collapse
-
#stream ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(stream = STDOUT) ⇒ Stories
constructor
Set the stream where the report will be written to.
Methods included from Utils::ColorfulOutput
Methods included from Utils::Summaries
#summarize_errors, #summarize_pending_tests, #summarize_test_totals
Methods inherited from Protest::Report
#add_assertion, #assertions, #errors, #failures, #failures_and_errors, on, #passes, #pendings, #tests, #time_elapsed, #total_tests
Constructor Details
#initialize(stream = STDOUT) ⇒ Stories
Set the stream where the report will be written to. STDOUT by default.
11 12 13 |
# File 'lib/protest/reports/stories.rb', line 11 def initialize(stream=STDOUT) @stream = stream end |
Instance Attribute Details
#stream ⇒ Object (readonly)
:nodoc:
8 9 10 |
# File 'lib/protest/reports/stories.rb', line 8 def stream @stream end |