eclemma - how to ignore source

2019-04-18 04:36发布

问题:

I'm using junit/eclemma; it works great, except I'd like to instruct eclemma to ignore certain methods or classes. For example, how would i instruct eclemma to ignore getters/setters.

Thanks in advance!

回答1:

You can specify in the preferences which classes to ignore using a regexp ("Only path entries matching"). See http://www.eclemma.org/userdoc/preferences.html for details.

I don't think you can ignore methods though.