Redian新闻
>
java覆盖率测试工具?
avatar
java覆盖率测试工具?# Java - 爪哇娇娃
v*s
1
各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
我用过emma, jcoverage, clover.
前两个是免费,但是效率比较低,插装class文件的。
第3个是commercial的,但是效率很高,插装src code。
还有其他工具推荐么?
avatar
g*g
2
Rational code coverage is not bad, not free though.

【在 v*s 的大作中提到】
: 各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
: 我用过emma, jcoverage, clover.
: 前两个是免费,但是效率比较低,插装class文件的。
: 第3个是commercial的,但是效率很高,插装src code。
: 还有其他工具推荐么?

avatar
m*t
3

GroboUtils is another popular open source coverage tool. Although it
instruments byte code as well, so if you don't like emma, you probably
won't like GroboUtils either.
But frankly, tools that instrument byte code are generally better
than those work at source level because they are less intrusive and higher
compatibility. Besides, I don't see why byte code instrumenters are
inherently insufficient - from my experience with emma or GroboUtils, they
seem to be comparable to clover.
Even there

【在 v*s 的大作中提到】
: 各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
: 我用过emma, jcoverage, clover.
: 前两个是免费,但是效率比较低,插装class文件的。
: 第3个是commercial的,但是效率很高,插装src code。
: 还有其他工具推荐么?

avatar
m*t
4

Of course my fat fingers were trying to type "inefficient".

【在 m******t 的大作中提到】
:
: GroboUtils is another popular open source coverage tool. Although it
: instruments byte code as well, so if you don't like emma, you probably
: won't like GroboUtils either.
: But frankly, tools that instrument byte code are generally better
: than those work at source level because they are less intrusive and higher
: compatibility. Besides, I don't see why byte code instrumenters are
: inherently insufficient - from my experience with emma or GroboUtils, they
: seem to be comparable to clover.
: Even there

avatar
g*g
5
coverage is considered an offline operation and
efficiency is not very important.

【在 v*s 的大作中提到】
: 各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
: 我用过emma, jcoverage, clover.
: 前两个是免费,但是效率比较低,插装class文件的。
: 第3个是commercial的,但是效率很高,插装src code。
: 还有其他工具推荐么?

avatar
m*t
6

Coverage is usually enabled during unit testing rather than system
testing. The part that's supposed to enforce the timeout value (i.e.
the client?) and the part that's supposed to get back by the timeout
value (i.e. the server?) should probably be tested separately in
unit testing.

【在 v*s 的大作中提到】
: 各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
: 我用过emma, jcoverage, clover.
: 前两个是免费,但是效率比较低,插装class文件的。
: 第3个是commercial的,但是效率很高,插装src code。
: 还有其他工具推荐么?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。