--test-coverage-include
稳定性: 1 - 实验性
使用全局模式在代码覆盖中包含特定文件,该模式可以匹配绝对路径和相对路径。
【Includes specific files in code coverage using a glob pattern, which can match both absolute and relative file paths.】
可以多次指定此选项以包含多个 glob 模式。
【This option may be specified multiple times to include multiple glob patterns.】
如果同时提供了 --test-coverage-exclude 和 --test-coverage-include,文件必须同时满足两个条件才能被包含在覆盖率报告中。
【If both --test-coverage-exclude and --test-coverage-include are provided,
files must meet both criteria to be included in the coverage report.】