How to force Emma code coverage report to ignore some methods? -


some methods, such auto-generated getters, setters, equals , tostring, trivial test. however, if aren't added testing classes, code coverage percentage (calculated using emma) reduced , may crash our system build.

how can force emma ignore these methods in code coverage percentage?

regards,

felipe

from emma faq:

a feature allow emma users mark arbitrary methods excluded coverage being considered future versions.

so unfortunately doesn't seem possible @ moment. there's open feature request in emma's tracker.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -