다음 구성을 사용하여 계측에서 모든 toString() 메소드를 무시하려고했습니다. 이게 진짜로 효과가 없었어? 이것은 maven plugin으로 cobertura를 사용하고 있습니다. 이는 이전 답변 인 Exclude methods from code coverage with Cobertura을 기반으로했습니다.cobertura의 코드 적용 범위에서 특정 방법을 제외 하시겠습니까?
<instrumentation>
<ignores>
<ignore>toString</ignore>
</ignores>
</instrumentation>
내가 뭘 잘못하고 있다고 생각하니. cobertura 문서에서 예제를 찾을 수 없었습니다.
제공되는 유일한 대답을 고려하고 싶을 수 있습니다. –