mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/support/sauce.rb

11 lines
333 B
Ruby
Raw Normal View History

require 'cucumber/formatter/junit'
module Cucumber::Formatter
class Sauce < Junit
def format_exception(exception)
sauce_job_page = "Sauce Labs job URL: http://saucelabs.com/jobs/#{$session_id}\n"
([sauce_job_page] + ["#{exception.message} (#{exception.class})"] + exception.backtrace).join("\n")
end
end
end