Class: GreenPepper::CheckFailure
- Inherits:
-
ExampleResult
- Object
- ExampleResult
- GreenPepper::CheckFailure
- Includes:
- KeywordFormat
- Defined in:
- lib/greenpepper/writer/freetextresult.rb
Instance Attribute Summary
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods included from KeywordFormat
#error, #green_highlight, #grey_highlight, #highlight, #indent, #indent2, #newline, #red_highlight, #yellow_highlight
Methods inherited from ExampleResult
#error?, #ignored?, #initialize, #success?
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Method Details
#failure? ⇒ Boolean
228 229 230 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 228 def failure? true end |
#update_stats(results) ⇒ Object
224 225 226 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 224 def update_stats(results) results.add_failure end |
#write(action) ⇒ Object
220 221 222 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 220 def write(action) red_highlight action end |