Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
64 0 0 0 100% 0.403

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.meta.model 1 0 0 0 100% 0.021
com.spotify.apollo.environment 12 0 0 0 100% 0.052
com.spotify.apollo.route 26 0 0 0 100% 0.172
com.spotify.apollo.dispatch 6 0 0 0 100% 0.131
com.spotify.apollo.request 16 0 0 0 100% 0.023
com.spotify.apollo.meta 3 0 0 0 100% 0.004

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

com.spotify.apollo.meta.model

Class Tests Errors Failures Skipped Success Rate Time
DefaultMetaGathererTest 1 0 0 0 100% 0.021

com.spotify.apollo.environment

Class Tests Errors Failures Skipped Success Rate Time
EnvironmentFactoryTest 12 0 0 0 100% 0.052

com.spotify.apollo.route

Class Tests Errors Failures Skipped Success Rate Time
MiddlewaresTest 21 0 0 0 100% 0.118
RouteEndpointTest 3 0 0 0 100% 0.012
RouteRuleBuilderTest 2 0 0 0 100% 0.042

com.spotify.apollo.dispatch

Class Tests Errors Failures Skipped Success Rate Time
EndpointInvocationHandlerTest 6 0 0 0 100% 0.131

com.spotify.apollo.request

Class Tests Errors Failures Skipped Success Rate Time
RequestHandlerImplTest 4 0 0 0 100% 0.014
RequestRunnableImplTest 6 0 0 0 100% 0.009
RequestTrackerTest 2 0 0 0 100% 0
TrackedOngoingRequestImplTest 2 0 0 0 100% 0
TrackingEndpointRunnableFactoryTest 2 0 0 0 100% 0

com.spotify.apollo.meta

Class Tests Errors Failures Skipped Success Rate Time
ApplicationOrMetaRouterTest 1 0 0 0 100% 0.002
MetaDescriptorTest 1 0 0 0 100% 0.001
OutgoingCallsGatheringClientTest 1 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

EndpointInvocationHandlerTest

shouldRespondWithResponseMessageForOk 0.066
shouldUnwrapMultiLineExceptions 0.011
shouldRespondWithDetailMessageForExceptionsToNonClientCallers 0
shouldRespondWith500ForGeneralException 0
shouldRespondWithDetailMessageForSyncExceptionsToNonClientCallers 0.002
shouldNotBlockOnFutures 0.052

EnvironmentFactoryTest

verifyDummyConfig 0.041
settingMultipleConfigResolversShouldFail1 0
settingMultipleConfigResolversShouldFail2 0
settingMultipleConfigResolversShouldFail3 0
settingMultipleConfigResolversShouldFail4 0
settingMultipleConfigResolversShouldFail5 0
settingMultipleConfigResolversShouldFail6 0
shouldResolveThroughResolver 0
shouldCollectRegisteredRoutes 0.011
customConfigResolverShouldWork 0
shouldThrowIfUsedAfterInit 0
staticConfigShouldWork 0

ApplicationOrMetaRouterTest

shouldMatchMeta 0.002

MetaDescriptorTest

testLoadApolloVersion 0.001

DefaultMetaGathererTest

testInfo 0.021

OutgoingCallsGatheringClientTest

shouldGatherCallsWithServiceFromAuthority 0.001

RequestHandlerImplTest

shouldReplySafelyForExceptions 0.009
shouldRunRequestRunnable 0.001
shouldSetRequestContextArrivalTime 0.003
shouldRunEndpointRunnable 0.001

RequestRunnableImplTest

testWrongMethod 0.005
shouldReply500IfApplicationRouterValidMethodsThrows 0.001
testRunsMatchedEndpoint 0
testMatchingFails 0.001
shouldReply500IfApplicationRouterMatchThrows 0.001
testWithMethodOptions 0.001

RequestTrackerTest

shouldFailRequestsWhenClosed 0
droppedAfterExpiration 0

TrackedOngoingRequestImplTest

shouldNotReplyIfNotTracked 0
shouldRegisterWithRequestTracker 0

TrackingEndpointRunnableFactoryTest

shouldGatherCalls 0
shouldRunDelegate 0

MiddlewaresTest

httpShouldNotSetContentLengthOrAppendPayloadForInvalidStatusCodes 0
serializerShouldNotSetContentTypeIfAbsent 0
asShouldNotSerializeResponseByteString 0
httpShouldSetContentLengthFor200 0
asShouldSerializeResponseObjectAsJson 0.105
serializerShouldCopyStatusCodeFromResponses 0.001
asShouldSerializeCharSequenceAsString 0.001
asShouldNotSerializeByteString 0
httpShouldNotAppendPayloadForHeadAnd200 0.001
contentTypeShouldAddToResponse 0.001
asShouldSerializeResponseCharSequenceAsString 0
serializerShouldSetContentTypeIfPresent 0
contentTypeShouldAddToNonResponse 0
asShouldSerializeObjectAsJson 0.005
asShouldSerializeStringAsString 0
httpShouldSetContentLengthForHeadAnd200 0
serializerShouldSerialize 0.001
serializerShouldSerializeResponses 0.001
serializerShouldCopyHeadersFromResponses 0
serializerShouldNotSerializeNull 0.001
httpShouldAppendPayloadFor200 0.001

RouteEndpointTest

shouldReturnResultOfAsyncRoute 0.009
shouldReturnResultOfSyncRoute 0.001
shouldIncludeDocstringInEndpointInfo 0.002

RouteRuleBuilderTest

helperMethodsShouldProduceCorrectRoutes 0.038
shouldCreateRule 0.004