Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
121 0 0 0 100% 5.63

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.flo 77 0 0 0 100% 5.386
com.spotify.flo.context 44 0 0 0 100% 0.244

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

com.spotify.flo

Class Tests Errors Failures Skipped Success Rate Time
TaskIdsTest 11 0 0 0 100% 0.005
InputSyncCompletionTest 6 0 0 0 100% 4.137
TaskContextTest 6 0 0 0 100% 0.151
TestScopeTest 1 0 0 0 100% 0
SerializationTest 10 0 0 0 100% 0.067
TaskInfoTest 1 0 0 0 100% 0.193
EvalContextWithTaskTest 2 0 0 0 100% 0.386
FloTestingTest 3 0 0 0 100% 0
TaskTest 17 0 0 0 100% 0.207
TestContextTest 3 0 0 0 100% 0.002
TaskEvalBehaviorTest 17 0 0 0 100% 0.238

com.spotify.flo.context

Class Tests Errors Failures Skipped Success Rate Time
SyncContextTest 16 0 0 0 100% 0.011
AsyncContextFailurePropagationTest 1 0 0 0 100% 0.025
EvalContextTest 1 0 0 0 100% 0.106
ForwardingEvalContextTest 6 0 0 0 100% 0.008
MemoizingContextTest 1 0 0 0 100% 0.013
AsyncContextTest 17 0 0 0 100% 0.034
InstrumentedContextTest 2 0 0 0 100% 0.047

Test Cases

[Summary] [Package List] [Test Cases]

SyncContextTest

immediateValueIsAvailable 0.001
propagateFailureThroughMapAndFlatMapMix 0.002
flatMappedValueOfPromiseShouldLatchAndComplete 0.001
propagateFailure 0
suppliedValueIsComputedOnSameThread 0.001
settingPromiseShouldConsumeValueOnSameThread 0
promiseShouldOnlyAllowSetOnce 0
promiseShouldOnlyAllowFailOnce 0
mappedValueOfPromiseShouldCompleteWhenSet 0.001
settingMappedValueShouldComputeOnSameThread 0.001
valueContextIsCreatingContext 0
propagateFailureThroughMap 0.001
propagateFailureThroughFlatMap 0
consumedValueIsAcceptedOnSameThread 0
promiseShouldCompleteValueWhenSet 0.001
propagateFailureFromInnerValueOnFlatMap 0.001

AsyncContextFailurePropagationTest

shouldFailTaskIfUpstreamsFail 0.024

TaskIdsTest

shouldNotParseInvalidHashPlacement 0
shouldNotAllowCloseParenthesisInName 0
shouldParseBigHash 0.001
shouldNotParseInvalidIdHash 0
shouldHaveIdentity 0.001
shouldNotParseInvalidParens 0
shouldNotAllowOpenParenthesisInName 0
shouldNotParseInvalidName 0
shouldHaveHumanReadableToString 0.001
shouldNotParseInvalidParensNoOpen 0
parsedIdEqualToActual 0

InputSyncCompletionTest

shouldNotCompleteTaskBeforeAllInputsAreDone_AsInputListBefore 1.038
shouldNotCompleteTaskBeforeAllInputsAreDone_FailingBefore 1.022
shouldNotCompleteTaskBeforeAllInputsAreDone_AsInputListAfter 1.019
shouldPropagateExceptionsAsSuppressed 0.012
shouldNotCompleteTaskBeforeAllInputsAreDone_FailingAfter 1.017
shouldPropagateExceptionsAsSuppressedFromMultipleLevels 0.025

EvalContextTest

evaluateInternalShouldInvokeOperatorWithListener 0.028

TaskContextTest

lifecycleMethodsCalledInOrderOnFail 0.027
lifecycleMethodsCalledInOrder 0.011
injectsTaskContexts 0.005
injectsTaskContextsSecond 0.009
lifecycleMethodsNotCalledIfInputsFail 0.013
lifecycleMethodsCalledAfterInputsHaveEvaluated 0.021

TestScopeTest

shouldAttachAndDetach 0

ForwardingEvalContextTest

evaluateInternal 0.001
promise 0
invokeProcessFn 0.001
value 0.001
evaluate 0.002
immediateValue 0.001

SerializationTest

serializeShouldPropagateSerializationExceptions 0.006
shouldSerializeWithLocalReference 0.003
shouldJavaUtilSerialize 0.009
shouldSerializeWithMethodArgument 0.003
shouldProvideDetailedDebugInformationOnNotSerializableException 0.005
exceptionSerialization 0.033
deserializeShouldPropagateSerializationExceptions 0
shouldNotSerializeAnonymousClass 0.003
shouldNotSerializeWithInstanceFieldReference 0.003
serializeShouldPropagateIOException 0.002

TaskInfoTest

testTaskInfo 0.162

EvalContextWithTaskTest

testEmptyDefault 0
testCurrentTaskId 0

FloTestingTest

shouldRunInScope 0
shouldBeTestInScope 0
shouldSupplyInScope 0

MemoizingContextTest

deDuplicatesSameTasks 0.013

TaskTest

shouldEvaluate1N_I 0.01
shouldEvaluate1N_L 0.009
shouldEvaluate2N_II 0.012
shouldEvaluate2N_IL 0.012
shouldRequireSerializableOperator 0.003
shouldHaveClassOfTaskType 0.015
shouldDisallowMultipleTaskOutputs 0.013
shouldEvaluate3N_III 0.014
shouldEvaluate3N_IIL 0.056
shouldRequireSerializableProcessFn 0.002
shouldRequireSerializableInputs 0.001
shouldEvaluate0N 0.002
shouldHaveListOfInputs 0.008
shouldDisallowMultipleTaskOperators 0.002
shouldRequireSerializableInput 0.001
shouldHaveListOfTaskContexts 0.004
shouldRequireSerializableContext 0.001

AsyncContextTest

consumedValueIsAcceptedOnExecutorThread 0.002
immediateValueIsAvailable 0.001
propagateFailureThroughMapAndFlatMapMix 0.003
flatMappedValueOfPromiseShouldLatchAndComplete 0.001
propagateFailure 0
promiseShouldOnlyAllowSetOnce 0
promiseShouldOnlyAllowFailOnce 0
settingPromiseShouldConsumeValueOnExecutorThread 0
mappedValueOfPromiseShouldCompleteWhenSet 0.001
valueContextIsCreatingContext 0
propagateFailureThroughMap 0.001
settingMappedValueShouldComputeOnExecutorThread 0.001
propagateFailureThroughFlatMap 0.001
promiseShouldCompleteValueWhenSet 0.002
propagateFailureFromInnerValueOnFlatMap 0
suppliedValueIsComputedOnExecutorThread 0.001
grpcContextIsPropagated 0.009

TestContextTest

shouldReturnNullForUninitializedKey 0.001
shouldUseDefaultInitializer 0
shouldUseGetInitializer 0.001

InstrumentedContextTest

callsStatusForFailingTask 0.02
callsListenerWithTasksAndStatuses 0.027

TaskEvalBehaviorTest

shouldOnlyEvaluateStreamParameterOnce 0.032
shouldFlattenListParameters 0.013
shouldRunAsExpected 0.005
shouldHandleMultipleStreamParameters 0.028
shouldHandleStreamParameters 0.01
shouldListInputIds 0.012
shouldFlattenListParametersToSameAsIndividual 0.012
shouldListInputsLazily 0.006
shouldEvaluateInputsInParallelForChainedTask 0.026
shouldInterceptProcessFunctionInContext0 0.011
shouldInterceptProcessFunctionInContext1 0.012
shouldInterceptProcessFunctionInContext2 0.011
shouldInterceptProcessFunctionInContext3 0.015
shouldOnlyEvaluateInputsParameterOnce 0.006
shouldHandleMixedStreamAndPlainParameters 0.014
shouldInterceptProcessFunctionInContext1L 0.008
shouldInterceptProcessFunctionInContext2L 0.013