报告问题open_in_new
查看源代码open_in_new
每晚
·
7.2。
·
7.1。
·
7.0
·
6.5。
·
6.4。
此对象包含有关构建运行环境的信息。如需详细了解配置的一般概念,请参阅
“规则”页面。
成员
coverage_enabled
bool configuration.coverage_enabled
指示是否已为此运行启用代码覆盖率的布尔值。请注意,这不会计算是否应针对代码覆盖率数据收集特定规则进行插桩。为此,请参阅
ctx.coverage_instrumented
函数。
default_shell_env
dict configuration.default_shell_env
表示静态本地 shell 环境的字典。它将变量映射到它们的值(字符串)。
host_path_separator
string configuration.host_path_separator
返回 PATH 环境变量的分隔符“:”。
test_env
dict configuration.test_env
包含用户指定的测试环境变量及其值的字典,由 --test_env 选项设置。请勿使用!这并不是完整的环境!