Gradle Test Run :bootstrap:test
class_level_validation_failure_is_reported_under_global_bucket()
summary
|
100%
successful |
standard output
2026-05-12T15:59:46.115+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-05-12T15:59:46.115+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet ''
2026-05-12T15:59:46.116+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms
2026-05-12T15:59:46.120+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ValidationExceptionHandlerIntegrationTest$ValidationTestController#signup(SignupRequest)
2026-05-12T15:59:46.124+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json" to [SignupRequest[password=abc, passwordConfirm=different]]
2026-05-12T15:59:46.135+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.ValidationExceptionHandler#handleValidationException(MethodArgumentNotValidException)
2026-05-12T15:59:46.136+09:00 WARN 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] c.p.a.p.s.e.ValidationExceptionHandler : Validation failed: {__global__=[passwords must match]}
2026-05-12T15:59:46.138+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml]
2026-05-12T15:59:46.138+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=PRES-001, message=요청 값이 올바르지 않습니다., data=null, errors={__global__=[pas (truncated)...]
2026-05-12T15:59:46.142+09:00 DEBUG 3742337 --- [ Test worker] [traceId=3a984c61c5768cf40e72193588812db9] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in java.lang.String com.project.auth.ValidationExceptionHandlerIntegrationTest$ValidationTestController.signup(com.project.auth.ValidationExceptionHandlerIntegrationTest$SignupRequest): [Error in object 'signupRequest': codes [PasswordsMatch.signupRequest,PasswordsMatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [signupRequest]; arguments []; default message []]; default message [passwords must match]] ]