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。 : 还有其他工具推荐么?
|
|