Skip to content

Instantly share code, notes, and snippets.

@illicitonion
Created September 26, 2011 17:19
Show Gist options
  • Save illicitonion/1242771 to your computer and use it in GitHub Desktop.
Save illicitonion/1242771 to your computer and use it in GitHub Desktop.
task :test_java => [
"//java/client/test/org/openqa/selenium/atoms:test:run",
"//java/client/test/org/openqa/selenium:SmallTests:run",
:test_support,
:test_java_webdriver,
:test_selenium,
"test_grid",
# Android should be installed and the tests should be ran
# before commits.
:test_android
]
...
task :test_java_webdriver => [
"//java/client/test/org/openqa/selenium/htmlunit:test:run",
"//java/client/test/org/openqa/selenium/firefox:test:run",
"//java/client/test/org/openqa/selenium/ie:test:run",
"//java/server/test/org/openqa/selenium/remote/server:test:run",
]
if (present?("chromedriver"))
task :test_java_webdriver => [:test_chrome]
end
if (opera?)
task :test_java_webdriver => [:test_opera]
end
...
task :test_selenium => [ :'test-rc', :'test-v1-emulation', :'test-selenium-backed-webdriver', :'test-core']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment