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.