简体   繁体   English

在IntelliJ中,如何在自定义测试范围内运行Coverage?

[英]In IntelliJ, how do I do Run with Coverage on a custom scope of tests?

I have a custom Scope with a bunch of tests included and excluded, and I want to perform Run with Coverage on just these tests. 我有一个自定义合并范围,其中包含一堆包含和排除的测试,我只想对这些测试执行“覆盖运行”。 Is there a way to do that? 有没有办法做到这一点?

我当前的(较差的)解决方法是在“测试源”文件夹中全部展开,然后手动按住Shift键并单击一系列测试,然后单击“控制”以关闭我不想运行的测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM