我正在使用junit/eclemma;它工作得很好,除了我想指示 eclemma 忽略某些方法或类。例如,我将如何指示 eclemma 忽略 getter/setter。
提前致谢!
我正在使用junit/eclemma;它工作得很好,除了我想指示 eclemma 忽略某些方法或类。例如,我将如何指示 eclemma 忽略 getter/setter。
提前致谢!
您可以使用正则表达式(“仅路径条目匹配”)在首选项中指定要忽略的类。有关详细信息,请参阅http://www.eclemma.org/userdoc/preferences.html。
我不认为你可以忽略方法。