-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rb] add rake tasks to wrap bazel commands (#12153)
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
- Loading branch information
1 parent
722376a
commit 1000271
Showing
4 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'rspec/core/rake_task' | ||
|
||
desc 'Setup everything to run tests in RubyMine' | ||
task :update do | ||
system 'bazel build @bundle//:bundle //rb:selenium-devtools //rb:selenium-webdriver' | ||
end | ||
|
||
desc 'Run unit tests' | ||
task :unit do | ||
system 'bazel test --test_size_filters small //rb/...' | ||
end | ||
|
||
desc 'Run all integration tests in chrome' | ||
task :spec do | ||
system "bazel test --test_size_filters large //rb/..." | ||
end |
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