Pragmatic Coder

best practices
posts - 8, comments - 0, trackbacks - 0, articles - 0

2006年9月16日

avg_3000 wrote:
> Hi,
>
> Can you suggest a tutorial site for junit and jcoverage that covers
> from the grassroot level since I have no idea on how to use this tools
> in java.

jcoverage is as good as dead. Use Cobertura, which is its replacement.
Cobertura has documentation for running it in Ant; it's even easier in
Maven.
Take a look at <http://cobertura.sourceforge.net/anttaskreference.html>,
since that's what Google would probably have pulled up if you'd searched.

结合使用JUnit和Cobertura可能是不错的选择。

posted @ 2006-09-16 09:59 肖鹏 阅读(229) | 评论 (0)编辑 收藏