class Cucumber::Formatter::ResultBuilder
Attributes
test_case_duration[R]
Public Class Methods
new(result)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 238 def initialize(result) @test_case_duration = 0 result.describe_to(self) end
Public Instance Methods
attach(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 259 def attach(*) end
duration(duration, *)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 255 def duration(duration, *) duration.tap { |dur| @test_case_duration = dur.nanoseconds / 10**9.0 } end
exception(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 253 def exception(*) end
failed(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 245 def failed(*) end
passed(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 243 def passed(*) end
pending(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 251 def pending(*) end
skipped(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 249 def skipped(*) end
undefined(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 247 def undefined(*) end