PHPUnit9.0 XML 配置文件-<groups> 元素
2022-03-24 14:49 更新
<groups> 元素
父元素:<phpunit>
<groups> 元素及其 <include>、<exclude>、<group> 子元素用于从带有 @group 标注的测试中选择需要运行(或不运行)的分组。
<groups>
<include>
<group>name</group>
</include>
<exclude>
<group>name</group>
</exclude>
</groups>上面的示例等效于以 --group name --exclude-group name 调用 PHPUnit 测试执行器。
以上内容是否对您有帮助:

免费 AI IDE


更多建议: