Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.638 kB
require File.expand_path(File.dirname(__FILE__) + "/engines/adva_cms/test/javascript/lib/jstest")
namespace :test do
desc "Runs all the JavaScript unit tests and collects the results"
AdvaJavaScriptTestTask.new(:js) do |t|
plugins_to_test = ENV['PLUGINS'] && ENV['PLUGINS'].split(',')
browsers_to_test = ENV['BROWSERS'] && ENV['BROWSERS'].split(',')
t.prepare_plugins(plugins_to_test)
t.prepare_tests
t.mount_root
t.mount_plugins
%w( safari firefox ie konqueror opera ).each do |browser|
t.browser(browser.to_sym) unless browsers_to_test && !browsers_to_test.include?(browser)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.