Skip to content

Commit

Permalink
Add link to bazel test doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuntao Lu committed Apr 15, 2019
1 parent 9eb92e0 commit 6fd6e4f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codegen/template_bundle/template_files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/templates/service_mock.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func MustCreateTestService(t *testing.T, testConfigPaths ...string) MockService
defaultPath := filepath.Join(os.Getenv("GOPATH"), configPath)

// This is a temporary solution for running tests using bazel
// see https://docs.bazel.build/versions/master/test-encyclopedia.html for relevant env vars
// TODO: need long term solution to avoid hardcoding bazel specifics
bazelPath := filepath.Join(os.Getenv("TEST_SRCDIR"), os.Getenv("TEST_WORKSPACE"), configPath)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6fd6e4f

Please sign in to comment.