Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 0 0 0 100% 12.40 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.bremersee.exception.model 27 0 0 0 100% 12.40 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.bremersee.exception.model

- Class Tests Errors Failures Skipped Success Rate Time
RestApiExceptionIntegrationTest 2 0 0 0 100% 6.684 s
RestApiExceptionTest 16 0 0 0 100% 1.831 s
HandlerTest 4 0 0 0 100% 0.695 s
StackTraceItemTest 5 0 0 0 100% 3.189 s

Test Cases

[Summary] [Package List] [Test Cases]

RestApiExceptionIntegrationTest

springErrorAsXml(SoftAssertions) 1.793 s
springErrorAsJson(SoftAssertions) 0.057 s

RestApiExceptionTest

getErrorCodeInherited(SoftAssertions) 0.194 s
getPath(SoftAssertions) 0.002 s
getClassName(SoftAssertions) 0.002 s
xml(SoftAssertions) 1.269 s
json(SoftAssertions) 0.043 s
getTimestamp(SoftAssertions) 0.266 s
getId(SoftAssertions) 0.002 s
builder 0.006 s
getErrorCode(SoftAssertions) 0.002 s
getStatus(SoftAssertions) 0.003 s
getApplication(SoftAssertions) 0.003 s
getStackTrace(SoftAssertions) 0.003 s
getHandler(SoftAssertions) 0.003 s
getCause(SoftAssertions) 0.003 s
getError(SoftAssertions) 0.002 s
getMessage(SoftAssertions) 0.003 s

HandlerTest

getMethodName(SoftAssertions) 0.013 s
getClassName(SoftAssertions) 0.003 s
builder 0.002 s
getMethodParameterTypes(SoftAssertions) 0.669 s

StackTraceItemTest

getDeclaringClass(SoftAssertions) 2.632 s
getMethodName(SoftAssertions) 0.003 s
getLineNumber(SoftAssertions) 0.415 s
builder 0.059 s
getFileName(SoftAssertions) 0.003 s