Inner classes of test classes shown as source code
症状
In the clover report, inner classes of test cases (*TestCase.java) are shown as source classes, i.e. they appear under the "Classes" tab in the bottom left frame instead of the "Tests" tab.
原因
Clover's default test detection algorithm failed to distinguish the test sources. This bug was solved in Clover 2.4:
https://studio.plugins.atlassian.com/browse/CLMVN-21
ソリューション
Either upgrade to the latest Clover version or in Clover for Ant use the <testsources/>
element in the <clover-report/>
task to define test sources file names.
最終更新日 2013 年 6 月 1 日
Powered by Confluence and Scroll Viewport.