-
-
Notifications
You must be signed in to change notification settings - Fork 666
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go_bazel_test: wrapper and test library for running Bazel from go_test (
#2109) go_bazel_test is a macro that wraps go_test. It will be used for integration tests in rules_go as a replacement for bazel_test. The macro adds dependencies on bazel_testing and runfiles from rules_go. bazel_testing is a new test framework. Its TestMain function may be called to construct a Bazel workspace (specified as a txtar archive). Tests are run within this workspace. Bazel may be invoked with the RunBazel function. Updates #1508 Updates #1959
- Loading branch information
Jay Conrod
committed
Jul 8, 2019
1 parent
1467611
commit 4e329a0
Showing
21 changed files
with
827 additions
and
28 deletions.
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
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
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,10 @@ | ||
filegroup( | ||
name = "all_files", | ||
testonly = True, | ||
srcs = [ | ||
"//go/tools/bazel:all_files", | ||
"//go/tools/builders:all_files", | ||
"//go/tools/coverdata:all_files", | ||
], | ||
visibility = ["//visibility:public"], | ||
) |
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,12 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = ["bazel_testing.go"], | ||
importpath = "github.com/bazelbuild/rules_go/go/tools/bazel_testing", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//go/tools/bazel:go_default_library", | ||
"//go/tools/internal/txtar:go_default_library", | ||
], | ||
) |
Oops, something went wrong.