[test][boot-sample] 예외 핸들러 단위 테스트 추가#48
Merged
eGovFrameSupport merged 1 commit intoMay 28, 2026
Merged
Conversation
EgovSampleExcepHndlr, EgovSampleOthersExcepHndlr, EgovAopExceptionTransfer 세 클래스에 대한 JUnit 5 단위 테스트를 추가한다. - EgovSampleExcepHndlrTest: occur() 메서드가 다양한 예외 유형에서 예외를 전파하지 않고 정상 처리됨을 검증 (3건) - EgovSampleOthersExcepHndlrTest: 동일한 패턴으로 others 핸들러 검증 (3건) - EgovAopExceptionTransferTest: Mockito로 ExceptionTransfer.transfer() 위임 호출 여부 검증 (2건)
eGovFrameSupport
approved these changes
May 28, 2026
Contributor
|
표준프레임워크에 대한 지속적인 참여에 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
예외 처리 클래스 3종에 대한 JUnit 5 단위 테스트를 추가한다.
변경 파일
EgovSampleExcepHndlrTest—occur()메서드가 RuntimeException / Exception / IllegalArgumentException 입력에서 예외를 전파하지 않음을 검증 (3건)EgovSampleOthersExcepHndlrTest— 동일 패턴으로 others 핸들러 검증 (3건)EgovAopExceptionTransferTest— Mockito를 활용해ExceptionTransfer.transfer()위임 호출 여부 검증 (2건)테스트 결과