-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test : Domain모듈 Reader/Store 테스트코드 보완 #403
Test : Domain모듈 Reader/Store 테스트코드 보완 #403
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
깔끔합니다~~
afterEvaluate { | ||
classDirectories.setFrom(files(classDirectories.files.collect { | ||
fileTree(dir: it, exclude: ['**/global/config/**', '**/*Request.class', '**/*Response.class', '**/*Message.class', '**/*Controller.class', '**/OruryClientApplication.class']) | ||
})) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이게 어떤건지 설명 부탁드립니다~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
민협님 대신 답변을 드리자면, jacoco 관련 설정입니다
저희가 작성하지 않는 테스트코드들(~Controller, ~config, ~response) 들을 jacoco가 전부 체크하다보니, 전반적인 커버리지가 떨어지고 파악하기가 원활하지 않아 해당 내용 추가했습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JaCoCo로 정확한 테스트 커버리지 확인하기 위해, 테스트 대상이 아닌 파일 제외해주는 설정입니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!
flyway가 발목을 잡았어서 그렇지.. 테스트 코드는 크게 복잡하진 않네요
afterEvaluate { | ||
classDirectories.setFrom(files(classDirectories.files.collect { | ||
fileTree(dir: it, exclude: ['**/global/config/**', '**/*Request.class', '**/*Response.class', '**/*Message.class', '**/*Controller.class', '**/OruryClientApplication.class']) | ||
})) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
민협님 대신 답변을 드리자면, jacoco 관련 설정입니다
저희가 작성하지 않는 테스트코드들(~Controller, ~config, ~response) 들을 jacoco가 전부 체크하다보니, 전반적인 커버리지가 떨어지고 파악하기가 원활하지 않아 해당 내용 추가했습니다.
… into test/#402_TestCodes_for_Crew_Domain
… into test/#402_TestCodes_for_Crew_Domain
개요
closed #402
PR 유형
어떤 변경 사항이 있나요?
PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.