You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This launcher is typically used in CI to run your unit tests across many browsers and platforms on Sauce Labs. However, you can also use it locally to debug tests in browsers not available on your machine. It is expected that you are already familiar with Karma when configuring this launcher, so if you are new to Karma, head over to the [Karma website](http://karma-runner.github.io/).
26
26
27
-
The [Sauce Labs platform configurator](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator/#/) can help to find the correct configuration for your desired test platform.
27
+
The [Sauce Labs platform configurator](https://wiki.saucelabs.com/display/DOCS/Platform+Configurator/#/) can help to find the correct configuration for your desired test platform.
28
28
29
29
### Adding karma-sauce-launcher to an existing Karma config
For example configs using this launcher (using Travis CI), check out this repo's [karma file](https://github.com/karma-runner/karma-sauce-launcher/tree/master/examples/karma.conf-ci.js), the [karma-sauce-example repo](https://github.com/saucelabs/karma-sauce-example) (which demonstrates how to use Sauce locally), or [AngularJS' Karma config](https://github.com/angular/angular.js/blob/master/karma-shared.conf.js).
93
93
94
+
### Example results in Sauce Labs
95
+
Version `4.2.0` and lower of this module will give you the following result in Sauce Labs, no matter how many tests you execute.
96
+
97
+

98
+
99
+
As of version [4.3.0](https://github.com/karma-runner/karma-sauce-launcher/releases/tag/v4.3.0) the logs are replaced with the
100
+
test names and results of the individual tests that have been executed on Sauce Labs, including the execution url in the logs.
## `sauceLabs` config properties shared across all browsers
95
112
96
113
### username
@@ -124,7 +141,7 @@ Proxy for connecting to Sauce REST API, which is used to communicate job updates
124
141
Type: `Boolean`
125
142
Default: `true`
126
143
127
-
If `true`, Sauce Connect will be started automatically.
144
+
If `true`, Sauce Connect will be started automatically.
128
145
Set this to `false` if you are launching tests locally but want to start Sauce Connect via [a binary](https://wiki.saucelabs.com/display/DOCS/Downloading+Sauce+Connect+Proxy) manually in the background to improve test speed.
129
146
130
147
### connectOptions
@@ -138,9 +155,9 @@ Default:
138
155
}
139
156
```
140
157
141
-
Options to send to Sauce Connect.
158
+
Options to send to Sauce Connect.
142
159
143
-
Check [here](https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+Command-Line+Quick+Reference+Guide) for all available options.
160
+
Check [here](https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+Command-Line+Quick+Reference+Guide) for all available options.
144
161
All parameters have to be applied camel cased instead of with hyphens.
0 commit comments