由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - java覆盖率测试工具?
相关主题
问个很简单的问题?Java Performance Tool
help about bitstream writerjava 写unit test 给clover 真就是农民阿
怎样吧byte[]变成java.security.Key?jmock ?? or any other mocking tools?
怎麼得到字符串中的raw bytes?11款用于优化、分析源代码的Java工具
How to parse the bytes[]java code coverage 现在都用什么
how to improve performance for web service也问个 HashMap问题
[转载] help please on JavaCore Java2 Notes (6)
Re: what parts of Java you don't like? w[转载] Actually let me rephrase my question
相关话题的讨论汇总
话题: coverage话题: groboutils话题: 测试工具话题: 覆盖率话题: byte
进入Java版参与讨论
1 (共1页)
v*s
发帖数: 946
1
各位:不知道哪位有知道java下哪种覆盖率测试工具好用又是free的?
我用过emma, jcoverage, clover.
前两个是免费,但是效率比较低,插装class文件的。
第3个是commercial的,但是效率很高,插装src code。
还有其他工具推荐么?
g*****g
发帖数: 34805
2
Rational code coverage is not bad, not free though.

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

m******t
发帖数: 2416
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。
: 还有其他工具推荐么?

m******t
发帖数: 2416
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

g*****g
发帖数: 34805
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。
: 还有其他工具推荐么?

m******t
发帖数: 2416
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。
: 还有其他工具推荐么?

1 (共1页)
进入Java版参与讨论
相关主题
[转载] Actually let me rephrase my questionHow to parse the bytes[]
help! BufferedImagehow to improve performance for web service
问高手:数字签名[转载] help please on Java
How to know the size of a file in a progRe: what parts of Java you don't like? w
问个很简单的问题?Java Performance Tool
help about bitstream writerjava 写unit test 给clover 真就是农民阿
怎样吧byte[]变成java.security.Key?jmock ?? or any other mocking tools?
怎麼得到字符串中的raw bytes?11款用于优化、分析源代码的Java工具
相关话题的讨论汇总
话题: coverage话题: groboutils话题: 测试工具话题: 覆盖率话题: byte