mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
8f7e9c27a7
Requested by James Forrester at QA mailing list: http://lists.wikimedia.org/pipermail/qa/2013-August/000339.html Bug: 53467 Change-Id: I915b4e41d32c9190ccea73f2b3bce9a53918fe80
11 lines
333 B
Ruby
11 lines
333 B
Ruby
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
|