Last active
December 12, 2015 08:39
-
-
Save nilsel/4745855 to your computer and use it in GitHub Desktop.
testem.yml example-configuration w/browserstack (https://github.com/airportyh/testem). Added some more browsers while I was at it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
framework: qunit | |
test_file: test.html #this does not work: run testem with option -t test.html | |
on_start: | |
command: browserstack tunnel localhost:7357 | |
wait_for_text: You can now access your local server(s) in our remote browser | |
port: 7357 | |
# important: route /js/ so the test-scripts can read them | |
routes: | |
"/js": "../../../js" | |
launchers: | |
bs_opera: | |
command: browserstack launch --attach opera:12.11 http://localhost:7357 | |
protocol: browser | |
bs_firefox: | |
command: browserstack launch --attach firefox:16.0 http://localhost:7357 | |
protocol: browser | |
bs_chrome_25: | |
command: browserstack launch --attach chrome:25.0 http://localhost:7357 | |
protocol: browser | |
bs_safari_5: | |
command: browserstack launch --attach safari:5.0 http://localhost:7357 | |
protocol: browser | |
bs_safari_51: | |
command: browserstack launch --attach safari:5.1 http://localhost:7357 | |
protocol: browser | |
bs_safari_6: | |
command: browserstack launch --attach safari:6.0 http://localhost:7357 | |
protocol: browser | |
bs_ie_7: | |
command: browserstack launch --attach ie:7.0 http://localhost:7357 | |
protocol: browser | |
bs_ie_8: | |
command: browserstack launch --attach ie:8.0 http://localhost:7357 | |
protocol: browser | |
bs_ie_9: | |
command: browserstack launch --attach ie:9.0 http://localhost:7357 | |
protocol: browser | |
bs_ie_10: | |
command: browserstack launch --attach ie:10.0 http://localhost:7357 | |
protocol: browser | |
bs_samsung_tab: | |
command: browserstack launch --attach "Samsung Galaxy Tab 10.1" http://localhost:7357 | |
protocol: browser | |
bs_ipad_32: | |
command: browserstack launch --attach "iPad" http://localhost:7357 | |
protocol: browser | |
bs_ipad_6: | |
command: browserstack launch --attach "iPad 3rd (6.0)" http://localhost:7357 | |
protocol: browser | |
bs_iphone_5: | |
command: browserstack launch --attach "iPhone 5" http://localhost:7357 | |
protocol: browser | |
bs_iphone_5: | |
command: browserstack launch --attach "iPhone 5" http://localhost:7357 | |
protocol: browser | |
bs_iphone_3GS: | |
command: browserstack launch --attach "iPhone 3GS" http://localhost:7357 | |
protocol: browser | |
bs_google_nexus: | |
command: browserstack launch --attach "Google Nexus 7" http://localhost:7357 | |
protocol: browser | |
# add "ci" to your args to run in CI-mode | |
launch_in_ci: [bs_opera, bs_chrome_25, bs_firefox, bs_safari_51, bs_safari_5, bs_ie_8, bs_ie_9, bs_ie_7, bs_ipad_6, bs_ipad_32, bs_iphone_5, bs_iphone_3GS, bs_google_nexus] | |
# regular dev-mode with cli-interface | |
launch_in_dev: [bs_opera, bs_ie_10, bs_iphone_5, bs_ie_7] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment