Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
27 0 0 2 92.6% 3.519 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 2 92.6% 3.519 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 2 0% 0 s
RestApiExceptionTest 16 0 0 0 100% 3.495 s
HandlerTest 4 0 0 0 100% 0.009 s
StackTraceItemTest 5 0 0 0 100% 0.015 s

Test Cases

[Summary] [Package List] [Test Cases]

RestApiExceptionIntegrationTest

springErrorAsXml(SoftAssertions) 0 s
- class org.bremersee.exception.model.RestApiExceptionIntegrationTest is @Disabled -
springErrorAsJson(SoftAssertions) 0 s
- class org.bremersee.exception.model.RestApiExceptionIntegrationTest is @Disabled -

RestApiExceptionTest

getErrorCodeInherited(SoftAssertions) 1.807 s
getPath(SoftAssertions) 0.003 s
getClassName(SoftAssertions) 0.002 s
xml(SoftAssertions) 0.821 s
json(SoftAssertions) 0.067 s
getTimestamp(SoftAssertions) 0.204 s
getId(SoftAssertions) 0.002 s
builder 0.042 s
getErrorCode(SoftAssertions) 0.002 s
getStatus(SoftAssertions) 0.184 s
getApplication(SoftAssertions) 0.002 s
getStackTrace(SoftAssertions) 0.299 s
getHandler(SoftAssertions) 0.005 s
getCause(SoftAssertions) 0.002 s
getError(SoftAssertions) 0.002 s
getMessage(SoftAssertions) 0.002 s

HandlerTest

getMethodName(SoftAssertions) 0.001 s
getClassName(SoftAssertions) 0.002 s
builder 0.002 s
getMethodParameterTypes(SoftAssertions) 0.002 s

StackTraceItemTest

getDeclaringClass(SoftAssertions) 0.002 s
getMethodName(SoftAssertions) 0.002 s
getLineNumber(SoftAssertions) 0.002 s
builder 0.002 s
getFileName(SoftAssertions) 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


springErrorAsXml(SoftAssertions)
- skipped: class org.bremersee.exception.model.RestApiExceptionIntegrationTest is @Disabled
springErrorAsJson(SoftAssertions)
- skipped: class org.bremersee.exception.model.RestApiExceptionIntegrationTest is @Disabled