Shallow talk about the popular test coverage tool

the incompalibility between powermok and emma


can not co-exist the mock object with java reflect


Emma is inactive project, which has not been upgrade the version since 2006
cobertura is nice,  sonar has the more pwoerful presentation ability by providing the chart & diagram according to the various perspectives.


powermock's runwith annotation can be adapted in both method and class scope.


be careful to design your target class, providde the setter method to make possible for the mock object injection

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章