Dictionary of strings; values are subject to
$(location) and
"Make variable" substitution; default is {}
Specifies additional environment variables to set when the test is executed by
bazel test
.
This attribute only applies to native rules, like cc_test
,
py_test
, and sh_test
. It does not apply to
Starlark-defined test rules. For your own Starlark rules, you can add an "env"
attribute and use it to populate a
TestEnvironment
Provider.