Module: CemAcpt::TestRunner::LogFormatter
- Defined in:
- lib/cem_acpt/test_runner/log_formatter.rb,
lib/cem_acpt/test_runner/log_formatter/error_formatter.rb,
lib/cem_acpt/test_runner/log_formatter/goss_action_response.rb
Overview
Holds classes for formatting test runner results
Defined Under Namespace
Classes: ErrorFormatter, GossActionResponse
Class Method Summary collapse
Class Method Details
.new_formatter(result, *args, **kwargs) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/cem_acpt/test_runner/log_formatter.rb', line 10 def self.new_formatter(result, *args, **kwargs) if result.error? ErrorFormatter.new else GossActionResponse.new(*args) end end |