Class: BrowserStackCucumber::JenkinsFormatter

Inherits:
Cucumber::Formatter::Junit
  • Object
show all
Defined in:
lib/browserstack/jenkins_formatter.rb

Overview

noinspection RubyUnusedLocalVariable,RubyUnusedLocalVariable

Instance Method Summary collapse

Constructor Details

#initialize(step_mother, io, options) ⇒ JenkinsFormatter

Returns a new instance of JenkinsFormatter.



6
7
8
# File 'lib/browserstack/jenkins_formatter.rb', line 6

def initialize(step_mother, io, options)
  super
end

Instance Method Details

#after_steps(steps) ⇒ Object



10
11
12
13
14
# File 'lib/browserstack/jenkins_formatter.rb', line 10

def after_steps(steps)
  @output += job_url unless @in_examples
  super

end

#after_table_cell(table_row) ⇒ Object



16
17
18
# File 'lib/browserstack/jenkins_formatter.rb', line 16

def after_table_cell(table_row)
  @output += job_url unless @header_row
end