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 237 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 258 def attach(*) end
duration(duration, *)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 254 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 252 def exception(*) end
failed(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 244 def failed(*) end
passed(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 242 def passed(*) end
pending(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 250 def pending(*) end
skipped(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 248 def skipped(*) end
undefined(*)
click to toggle source
# File lib/cucumber/formatter/junit.rb, line 246 def undefined(*) end