Class: RightDevelop::CI::JavaCucumberFormatter
- Inherits:
-
Cucumber::Formatter::Junit
- Object
- Cucumber::Formatter::Junit
- RightDevelop::CI::JavaCucumberFormatter
- Defined in:
- lib/right_develop/ci/java_cucumber_formatter.rb
Instance Method Summary collapse
- #after_feature_element(*args) ⇒ Object
- #after_features(features) ⇒ Object
- #after_step_result(*args) ⇒ Object
- #after_steps(*args) ⇒ Object
- #before_feature_element(*args) ⇒ Object
- #before_features(features) ⇒ Object
- #before_steps(*args) ⇒ Object
- #exception(*args) ⇒ Object
-
#initialize(runtime, io, options) ⇒ JavaCucumberFormatter
constructor
A new instance of JavaCucumberFormatter.
Constructor Details
#initialize(runtime, io, options) ⇒ JavaCucumberFormatter
Returns a new instance of JavaCucumberFormatter.
41 42 43 44 45 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 41 def initialize(runtime, io, ) super @progress = Cucumber::Formatter::Progress.new(runtime, STDOUT, ) end |
Instance Method Details
#after_feature_element(*args) ⇒ Object
60 61 62 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 60 def after_feature_element(*args) @progress.after_feature_element(*args) if @progress.respond_to?(:after_feature_element) end |
#after_features(features) ⇒ Object
51 52 53 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 51 def after_features(features) @progress.after_features(features) if @progress.respond_to?(:after_features) end |
#after_step_result(*args) ⇒ Object
74 75 76 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 74 def after_step_result(*args) @progress.after_step_result(*args) if @progress.respond_to?(:after_step_result) end |
#after_steps(*args) ⇒ Object
69 70 71 72 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 69 def after_steps(*args) @progress.after_steps(*args)if @progress.respond_to?(:after_steps) super end |
#before_feature_element(*args) ⇒ Object
55 56 57 58 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 55 def before_feature_element(*args) @progress.before_feature_element(*args) if @progress.respond_to?(:before_feature_element) super end |
#before_features(features) ⇒ Object
47 48 49 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 47 def before_features(features) @progress.before_features(features) if @progress.respond_to?(:before_features) end |
#before_steps(*args) ⇒ Object
64 65 66 67 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 64 def before_steps(*args) @progress.before_steps(*args) if @progress.respond_to?(:before_steps) super end |
#exception(*args) ⇒ Object
78 79 80 |
# File 'lib/right_develop/ci/java_cucumber_formatter.rb', line 78 def exception(*args) @progress.exception(*args) if @progress.respond_to?(:exception) end |