Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
33 0 0 0 100% 0.215

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
com.spotify.apollo 26 0 0 0 100% 0.063
com.spotify.apollo.route 7 0 0 0 100% 0.152

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

com.spotify.apollo

Class Tests Errors Failures Skipped Success Rate Time
RequestTest 17 0 0 0 100% 0.044
ResponseTest 4 0 0 0 100% 0.008
RoutingEngineTest 1 0 0 0 100% 0.01
StatusTest 4 0 0 0 100% 0.001

com.spotify.apollo.route

Class Tests Errors Failures Skipped Success Rate Time
AsyncHandlerTest 3 0 0 0 100% 0.063
MiddlewareTest 1 0 0 0 100% 0.002
RouteTest 1 0 0 0 100% 0.084
SyncHandlerTest 2 0 0 0 100% 0.003

Test Cases

[Summary] [Package List] [Test Cases]

RequestTest

shouldReturnHeader 0.028
shouldClearHeaders 0
shouldSetTtl 0.003
shouldReturnHeaderWithDefaultMethod 0.001
shouldReturnFirstParameterValueWithDefaultImplementation 0
shouldReturnPayload 0.002
shouldReturnNullForMissingParameterWithDefaultMethod 0
shouldReplaceExistingHeader 0.009
shouldReturnNoPayload 0
shouldReturnNullForMissingParameter 0
shouldReturnNullForMissingHeaderWithDefaultMethod 0
shouldNotHaveTTLByDefault 0.001
shouldReturnAllParameterValues 0
shouldReturnFirstParameterValue 0
shouldAllowModifyingUri 0
shouldMergeHeaders 0
shouldReturnNullForMissingHeader 0

ResponseTest

shouldNotIgnoreCustomOk 0.007
shouldHaveSingletonOK 0
allowsAddingMultipleHeaders 0.001
allowsOverrideHeaderValues 0

AsyncHandlerTest

shouldMap 0.054
shouldFlatMap 0.008
shouldFlatMapSync 0.001

MiddlewareTest

shouldCompose 0.002

RouteTest

shouldSupportSyncEndpointHandler 0.084

SyncHandlerTest

shouldMap 0.002
shouldFlatMap 0.001

RoutingEngineTest

shouldCompile 0.01

StatusTest

shouldReplaceCRInReasonPhrase 0
shouldAllowSettingReasonPhrase 0.001
shouldReplaceNewlineInReasonPhrase 0
shouldReplaceControlCharsInReasonPhrase 0