mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/support/sauce.rb
Zeljko Filipin 8f7e9c27a7 Moved VisualEditor Selenium tests from browsertests repository
Requested by James Forrester at QA mailing list:

http://lists.wikimedia.org/pipermail/qa/2013-August/000339.html

Bug: 53467
Change-Id: I915b4e41d32c9190ccea73f2b3bce9a53918fe80
2013-08-28 20:14:21 +00:00

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