RuntimeException

1

tests

0

failures

0

ignored

0.089s

duration

100%

successful

Tests

Test Duration Result
Response는_RFC7807를_준수해야한다() 0.089s passed

Standard output

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Could not detect default configuration classes for test class [com.example.base.global.handler.GlobalExceptionHandlerTest$SingleThread$RuntimeExceptionTest]: RuntimeExceptionTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Found @SpringBootConfiguration com.example.base.BaseApplication for test class com.example.base.global.handler.GlobalExceptionHandlerTest$SingleThread$RuntimeExceptionTest

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Restart disabled due to context in which it is running


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
?[32m :: Spring Boot :: ?[39m              ?[2m (v3.2.5)?[0;39m

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Starting GlobalExceptionHandlerTest.SingleThread.RuntimeExceptionTest using Java 21.0.3 with PID 2040 (started by runner in /home/runner/work/spring-base/spring-base)

?[36m[DEBUG]?[m 06-21 08:18:18 [Test worker] 
 [] Running with Spring Boot v3.2.5, Spring v6.1.6

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] The following 1 profile is active: "test"

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Initializing Spring TestDispatcherServlet ''

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Initializing Servlet ''

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Completed initialization in 0 ms

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [] Started GlobalExceptionHandlerTest.SingleThread.RuntimeExceptionTest in 0.149 seconds (process running for 14.911)

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [3e532241] Add ipAddress :: 127.0.0.1 and hostName :: localhost to ThreadContext

?[1;31m[ERROR]?[m 06-21 08:18:18 [Test worker] 
 [3e532241] [FATAL] Unchecked exception(fatal) occurred com.example.base.global.handler.GlobalExceptionHandler.handleExceptionInternal(GlobalExceptionHandler.java:45)

?[32m[INFO ]?[m 06-21 08:18:18 [Test worker] 
 [3e532241] Response GET /simple-test-controller/runtime-exception application/problem+json 500

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [3e532241] Clear ThreadContext

?[30m[TRACE]?[m 06-21 08:18:18 [Test worker] 
 [3e532241] Clear ThreadContext