解决IntelliJ IDEA 项目结构旁边出现 0%classes,0% lines covered
#解决IntelliJ IDEA 项目结构旁边出现 0%class,0% lines covered
官方文档解答
From the main menu, select Run | Show Coverage Data (Ctrl+Alt+F6 ).
1.In the Choose Coverage Suite to Display dialog, select the checkboxes next to the necessary suites, and click Show selected.
2.IntelliJ IDEA opens the coverage results for the selected test suites.
3.To hide the coverage results, select the checkboxes next to the necessary classes and click No Coverage.
两种方法
-
Ctrl+Alt+F6(存在快捷键占用的看方法二);
-
在run–>选择选择ShowCoverageData,再重复第一步操作;