File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,46 @@ To build the Ruby code run:
209
209
``` sh
210
210
bazel build //rb/...
211
211
```
212
+
213
+ To run unit tests:
214
+
215
+ ``` sh
216
+ bazel test --cache_test_results=no --test_output=all //rb:unit-test
217
+ ```
218
+
219
+ To run tests on a browser:
220
+
221
+ ``` sh
222
+ bazel test --cache_test_results=no --test_output=all //rb:< browsername> -test
223
+ ```
224
+
225
+ To run remote tests on a browser:
226
+
227
+ ``` sh
228
+ bazel test --cache_test_results=no --test_output=all //rb:remote-< browsername> -test
229
+ ```
230
+
231
+ To run a particular test on a browser:
232
+
233
+ ``` sh
234
+ bazel test --cache_test_results=no --test_output=all --test_arg=" -e<Test_Target>" //rb:< browsername> -test
235
+ ```
236
+ _ browsername_ :
237
+ * chrome
238
+ * edge
239
+ * firefox
240
+ * firefox-nightly (requires setting ` ENV['FIREFOX_NIGHTLY_BINARY'] ` with the path to the browser executable)
241
+ * safari
242
+ * safari-preview
243
+
244
+ _ Test_Target_ examples:
245
+ * Selenium::WebDriver::Devtools
246
+ * Selenium::WebDriver::TakesScreenshot
247
+ * Selenium::WebDriver::Timeouts
248
+ * Selenium::WebDriver::Chrome::Driver
249
+ * Selenium::WebDriver::Firefox::Profile
250
+ * Selenium::Webdriver::Remote::Driver
251
+
212
252
</details >
213
253
214
254
#### .NET
You can’t perform that action at this time.
0 commit comments