Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
404 0 0 0 100% 1,132.407

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.sparkutils.quality.tests 14 0 0 0 100% 23.231
com.sparkutils.qualityTests.mapLookup 9 0 0 0 100% 22.005
com.sparkutils.qualityTests.bloom 21 0 0 0 100% 29.647
com.sparkutils.qualityTests 335 0 0 0 100% 1,026.47
com.sparkutils.qualityTests.id 25 0 0 0 100% 31.054

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

com.sparkutils.quality.tests

Class Tests Errors Failures Skipped Success Rate Time
RoundTripPrivateTest 1 0 0 0 100% 3.827
MetaRuleSetTest 4 0 0 0 100% 10.014
UserLambdaFunctionCompilationTest 9 0 0 0 100% 9.39

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLoaderTest 4 0 0 0 100% 10.034
MapLookupTests 5 0 0 0 100% 11.971

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomTests 17 0 0 0 100% 19.874
BloomLoaderTest 4 0 0 0 100% 9.773

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
RuleFolderTest 13 0 0 0 100% 21.932
DocMarkdownTest 1 0 0 0 100% 6.973
ExtensionDeltaTest 67 0 0 0 100% 348.643
BaseFunctionalityTest 29 0 0 0 100% 54.477
VersionSerializingTest 1 0 0 0 100% 17.11
CodeGenTest 4 0 0 0 100% 92.968
LookupIdentificationTest 4 0 0 0 100% 4.147
DocsParserTest 8 0 0 0 100% 0.84
AggregatesTest 27 0 0 0 100% 89.954
YamlTests 10 0 0 0 100% 26.896
VariableIdentificationTest 9 0 0 0 100% 4.927
ViewLoaderTest 7 0 0 0 100% 9.202
JoinValidationTest 2 0 0 0 100% 10.109
RuleEngineTest 12 0 0 0 100% 71.634
RoundTripTest 7 0 0 0 100% 185.502
ValidationTest 25 0 0 0 100% 9.491
RngAndRowIdTest 9 0 0 0 100% 13.096
TrEitherTest 3 0 0 0 100% 0.352
UserLambdaFunctionTest 17 0 0 0 100% 16.023
ReplaceWithMissingAttributesTest 13 0 0 0 100% 6.716
ExtensionParquetTest 67 0 0 0 100% 35.478

com.sparkutils.qualityTests.id

Class Tests Errors Failures Skipped Success Rate Time
IDTests 25 0 0 0 100% 31.054

Test Cases

[Summary] [Package List] [Test Cases]

MapLoaderTest

testMapLoading 5.518
testConfigLoadingWithoutIds 0.223
testConfigLoading 0.16
testMapSQLLoading 0.562

RuleFolderTest

testFlattenResultsSet 11.835
testSimpleProductionRulesReplaceOutOfOrderSet 0.626
testSimpleProductionRulesReplaceCustomDDLSet 0.326
testSetSyntaxEqualToButNoAttribute 0.003
testSimpleProductionRulesReplaceSet 0.463
testSimpleProductionRulesReplaceDebug 0.659
testSimpleProductionRulesReplaceDebugSet 0.413
testSimpleProductionRulesReplace 0.254
testSimpleProductionRulesReplaceOutOfOrder 0.247
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.28
testFlattenResults 2.996
testSimpleProductionRules 0.135

DocMarkdownTest

testMDRuleDocs 3.398

ExtensionDeltaTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.006
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 14.6
testAsymmetricFilterPlanIdJoinDifferentSizeFields 10.162
testAsymmetricFilterPlanJoinEq 13.221
testAsymmetricFilterPlanJoinGt 11.675
testAsymmetricFilterPlanJoinLt 11.212
testForceFunctionInjection 0.27
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0.001
testExtensionDisableStar 0.096
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 7.08
testAsymmetricFilterPlanJoinStructEqn 11.074
testAsymmetricFilterPlanJoinStructGtEq 10.712
testAsymmetricFilterPlanJoinStructLtEq 10.553
testAsymmetricFilterPlanJoinMixedEqn 10.514
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.002
testAsymmetricFilterPlanIdCallStructs 5.83
testAsymmetricFilterPlanJoinFieldsEq 11.324
testAsymmetricFilterPlanJoinFieldsGt 10.577
testAsymmetricFilterPlanJoinFieldsLt 10.506
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 6.464
testAsymmetricFilterPlanJoinFieldsGtEq 10.352
testAsymmetricFilterPlanJoinFieldsLtEq 10.321
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0.001
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 10.328
testAsymmetricFilterPlanJoinMixedLtEq 10.266
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 5.591
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.002
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 10.844
testAsymmetricFilterPlanJoinMixedGt 10.199
testAsymmetricFilterPlanJoinMixedLt 10.212
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 10.158
testExtension 0.134
testAsymmetricFilterPlanJoinEQNViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.072
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 6.788
testDefaultFunctionRegistrationViaBuiltIn 0.151
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 6.412
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0.001
testAsymmetricFilterPlanJoinEQN 10.425
testAsymmetricFilterPlanJoinGte 10.55
testAsymmetricFilterPlanJoinLte 10.456
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 9.85
testAsymmetricFilterPlanIdCallFields 6.444
testAsymmetricFilterPlanJoinStructEq 10.978
testAsymmetricFilterPlanJoinStructGt 10.305
testAsymmetricFilterPlanJoinStructLt 10.231
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 6.413

BaseFunctionalityTest

positiveProbResultsOverridden 5.639
typeCheckPackInts 6.76
verifySimpleExprs 4.326
flattenResultsTest 2.804
testRuleResult 1.187
updateFields 0.955
testPrintCode 0.194
testPrintExpr 0.064
disabledOverallShouldBePassed 0.258
flattenResultsWithMissingTest 0.443
testRuleResultDetails 1.381
scalarSubqueryAsTrigger 0.609
testCompareWithArrays 0.648
testCompareWithStructsReverseAndNested 0.553
functionParameterSizes 0.002
verifyResultExprDSL 0.141
negativeProbResultsOverridden 0.298
checkMinimumLengthWorks 0.002
mapArrays 0.002
testExpressionsWithAggregate 1.359
typeCheckProbability 8.92
testComparableResultsDifferentKeysAndMapValue 8.795
negativeProbResults 0.257
testCompareWithArraysOrderingAndReverse 0.428
oddBoxingIssueShouldRun 0.293
positiveProbResults 0.205
longPairEqual 0.154
typeCheckFlatten 2.743
testComparableResults 1.191

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 13.45

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 18.468
ruleEngineRunnerDefault 39.548
ruleRunnerTooMuchPerFunc 0.004
ruleRunnerDefault 31.354

LookupIdentificationTest

testMixed 0.372
mapLookuplambdaTest 0.068
mapContainslambdaTest 0.024
probabilityInlambdaTest 0.01

DocsParserTest

descOnlyButWithExprTest 0.715
simpleDescOnlyTest 0.001
simpleNoParamsTest 0.007
markdownParsingTest 0.031
simpleParsingTest 0.003
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.001
noDocsTest 0.006

MapLookupTests

emptyTest 6.114
taxonomyLookup 0.83
multiKey 0.326
lookupTest 0.722
setTest 0.327

AggregatesTest

mapAggrOnePassDeprecatedTest 5.88
mapTestSort 26.028
mapDeprecatedTestSort 20.201
mapDeprecatedTest 13.524
decimalPrecisionHofTest 1.482
mapStructKeyAggrCountTest 0.337
decimalPrecisionDeprecatedIncTest 0.292
mapAggrOnePassTest 0.441
decimalPrecisionIncExprTest 0.266
sumTestDSL 1.185
decimalPrecisionExprDSLTest 0.194
decimalPrecisionIncTest 0.352
mapAggrSumTest 0.501
decimalPrecisionNO_REWRITEIncTest 0.018
mapAggrSumDeprecatedTest 0.193
mapStructKeyAggrCountDeprecatedTest 0.162
decimalPrecisionIncDSLTest 0.133
mapAggrDecimalDSLTest 0.158
mapAggrCountTest 0.137
mapAggrDecimalTest 0.159
mapTest 12.589
decimalPrecisionTest 0.276
evalSumTest 0.944
decimalPrecisionNO_REWRITETest 0.209
mapAggrCountDeprecatedTest 0.201
decimalPrecisionIncExprDSLTest 0.126
mapAggrCountDSLTest 0.168

YamlTests

sqlTest 5.446
sequenceAsKeys 1.166
nonLiteralMapEntriesTest 0.085
theRest 14.317
sequencesAsValues 0.352
decimalViaYaml 0.233
mapsAsValues 0.543
structsAsValues 0.367
structsAsKeys 0.391
sequenceAsKeysDecimals 0.35

BloomTests

shouldThrowOnUnknownBlooms 2.67
verifyMeasurementSQLRoundTripBucketedArrayMapped 3.282
verifyMeasurementSQLRoundTripSpark 0.881
verifyMeasurementColumnParquet 1.075
verifyMeasurementSQLRoundTripBucketedArrayEager 0.393
verifyInputParams 0.042
verifyMeasurementSQLParquet 0.729
verifyCompilationBucketedArrayEager 2.581
verifyMeasurementColumnSpark 0.768
assertIncrementalBucketsViaFPP 0.004
verifyMeasurementSQLSpark 0.691
verifyCompilationBucketedArrayLazy 0.936
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.328
verifyBloomsAreIdentified 0.043
verifyCompilationBucketedArrayMapped 0.912
verifyCompilationSpark 0.831
assertIncrementalBucketsViaExpectedNums 0.003

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 0.795
testOverloadedLambdas 0.013
testFieldLookupWithLambda 0.381
testNestedAndNonEvaluatedLambda 0.009
testLambdaFromANonLeaf 0.007
testSimpleLambdaLookupWithFunctions 0.006
testSimpleLambdaLookupWithUnknownFunctions 0.035
testSimpleLambdaLookup 0.008
testNonLambdaNonLeaf 0.004

ViewLoaderTest

testViewLoads 4.571
testViewLoadsFailedAsInfinite 0.137
testViewLoadsThatDontParse 0.205
testViewLoadsThatNeedQuoting 0.1
testViewLoadsFailedAsJoinsNotPresent 0.103
testConfigLoadingWithoutIds 0.26
testConfigLoading 0.199

JoinValidationTest

testViaRelation 5.776
testWithRenames 0.61

RoundTripPrivateTest

ruleExprSwapping 0.118

RuleEngineTest

testHugeAmountOfRulesSOE 56.16
testSalience 4.669
testDebug 0.591
scalarSubqueryAsOutputExpressionViaLambdaParam 2.018
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.54
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.061
testProbabilityRuleFail 0.692
testProbabilityRulePass 0.317
testFlattenResults 1.591
scalarSubqueryAsOutputExpression 0.487
testSimpleProductionRules 0.153
scalarSubqueryAsOutputExpressionInStruct 0.636

RoundTripTest

ruleSuiteRoundTrippingToDF 5.773
ruleEngineSuiteRoundTrippingToDF 1.29
ruleEvalToStructAndEncodeBackWithUserType 70.18
ruleEvalToStructAndEncodeBack 26.563
verifyPacking 0
ruleEvalToOverallAndDetailsAndEncodeBack 65.176
ruleEvalAndBackViaDisk 12.712

MetaRuleSetTest

filterExpTest 4.235
regExpTest 0.008
fullLoadTest 1.503
transformLoadTest 0.639

ValidationTest

testNestedFieldDoesntError 2.699
testLambdaWithDuplicateArityError 0.054
testFunctionSyntaxError 0.345
testTransformOutput 1.995
testLambdaStackError 0.018
testOutputFunctionSyntaxError 0.013
testLambdaNestedNameError 0.012
testExpressionLookups 0.188
testMissingViews 0.098
testLambdaNestedOverloadedNameWithInterimError 0.012
testAllTheThingsExceptLambdaSOE 0.02
testLambdaSparkUnknownNameError 0.015
testLambdaSyntaxError 0.012
testFunctionNameError 0.008
testLambdaActualStackErrorSuppressed 0.064
testLambdaNestedOverloadedNameError 0.011
testUnknownFunctionRuleRunnerError 0.017
testLambdaActualStackError 0.013
testUnknownFunctionRuleEngineRunnerError 0.013
testNestedFieldLambdaError 0.009
testShowFunction 0.165
testOutputFunctionNameError 0.009
testLambdaNameError 0.008
testAllTheDocsWarnings 0.013
testNestedFieldError 0.007

UserLambdaFunctionCompilationTest

runDisabledCompilation 4.43
loadHandlersViaProperty 0.002
defaultHofConfigTests 0.002
runNestedCompilation 0.366
withSpecifiedHoFHandler 0.516
loadHandlers 0.002
withDefaultHoF 0.275
convertHandlers 0.001
runDisabledBottom 0.075

RngAndRowIdTest

rngLongsUUIDTest 5.163
rngBytesTest 0.653
idFromUUIDTest 0.752
rngBytesUUIDTest 0.416
rowIDTest 0.601
rngLongsUUIDNonJumpableTest 0.436
rngLongsTest 0.906
rngBytesUUIDNonJumpableTest 0.289
rngBytesWellsTest 0.143

BloomLoaderTest

testBloomLoading 5.456
testConfigLoadingWithoutIds 0.246
testConfigLoading 0.13
testMapSQLLoading 0.34

TrEitherTest

testFolds 0.239
testGets 0.003
testIs 0

UserLambdaFunctionTest

returnLambdaTest 4.385
lambdaNoParamsRuleTest 0.598
lambdaMultiParamLengthExpandedTest 0.658
lambdaMultiParamLengthSelfReferenceTest 0.343
lambdaMultiParamDupeLengthTest 0.046
globalLambdasTest 0.439
testHOFFunForwardDropin 0.242
lambdaMissing0LengthTest 0.045
lambdaRuleTest 0.188
nullInParam 0.447
testCallFunForward 0.147
testHOFLambdaDropin 0.382
testPlaceHolderNullableOverrides 0.497
testHOFDropins 2.59
nestedLambdaRuleTest 0.224
deepPartialTest 0.107
hofTest 1.004

IDTests

testAdlerIDGenHashFun 9.2
rountTripProvided 0.004
testMURMUR3_128IDGenHashFun 2.612
testSHA256IDGenHashFun 2.137
testSHA256IDGen 1.896
testMD5IDGenHashFun 1.493
testGuaranteedUniqueIDOps 0.016
testFakeIDGenDigestFun 1.752
testMD5IDGen 1.35
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.391
testMURMUR3IDZAGenHashFun 1.409
testRNGIDGen 0.18
testIDEqual 0.801
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 1.511
rountTripFields 0.001
roundTripGuaranteedUniqueIDLocalMac 0.001
rountTripRandom 0.001
testMurmur3 0.276
assertsOnGuaranteedUniqueID 0.001
testIDBase64 0.535
testUniqueIDGen 0.271
testRNGIDGenNonJump 0.07
testXXH3IDGenZAHashFun 1.412

ReplaceWithMissingAttributesTest

testNoReplace 2.255
testWithOutputReplaceCoalesce 0.082
testCalledWithLambdaReplaceCoalesce 0.467
testRuleReplaceWithOutputCoalesce 0.013
testRuleReplaceCoalesce 0.011
testRuleReplaceWithOutputNoReplaceCoalesce 0.014
testCoalesceNested 0.007
testRuleNoReplaceCoalesce 0.008
testRuleDisableCoalesce 0.008
testRuleReplaceWithOutputReplaceCoalesce 0.018
testCalledWithLambdaNoReplaceCoalesce 0.009
testCoalesceNestedNull 0.014
testWithOutputNoReplaceCoalesce 0.008

ExtensionParquetTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.004
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0.001
testDifferentLengthsId 5.599
testAsymmetricFilterPlanIdJoinDifferentSizeFields 1.088
testAsymmetricFilterPlanJoinEq 1.112
testAsymmetricFilterPlanJoinGt 0.79
testAsymmetricFilterPlanJoinLt 0.725
testForceFunctionInjection 0.405
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0.004
testExtensionDisableStar 0.087
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.54
testAsymmetricFilterPlanJoinStructEqn 0.629
testAsymmetricFilterPlanJoinStructGtEq 0.559
testAsymmetricFilterPlanJoinStructLtEq 0.586
testAsymmetricFilterPlanJoinMixedEqn 0.594
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 0.357
testAsymmetricFilterPlanJoinFieldsEq 0.497
testAsymmetricFilterPlanJoinFieldsGt 0.582
testAsymmetricFilterPlanJoinFieldsLt 0.523
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.455
testAsymmetricFilterPlanJoinFieldsGtEq 0.452
testAsymmetricFilterPlanJoinFieldsLtEq 0.555
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0.001
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 0.456
testAsymmetricFilterPlanJoinMixedLtEq 0.444
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 0.361
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 0.49
testAsymmetricFilterPlanJoinMixedGt 0.472
testAsymmetricFilterPlanJoinMixedLt 0.432
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 0.509
testExtension 0.317
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0.001
testExtensionDisableSpecific 0.064
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.373
testDefaultFunctionRegistrationViaBuiltIn 0.16
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.39
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 0.555
testAsymmetricFilterPlanJoinGte 0.435
testAsymmetricFilterPlanJoinLte 0.439
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 5.878
testAsymmetricFilterPlanIdCallFields 0.311
testAsymmetricFilterPlanJoinStructEq 0.587
testAsymmetricFilterPlanJoinStructGt 0.45
testAsymmetricFilterPlanJoinStructLt 0.5
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.434