Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
416 0 0 0 100% 746.652

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% 18.58
com.sparkutils.qualityTests.mapLookup 9 0 0 0 100% 17.597
com.sparkutils.qualityTests.bloom 21 0 0 0 100% 23.093
com.sparkutils.qualityTests 347 0 0 0 100% 665.303
com.sparkutils.qualityTests.id 25 0 0 0 100% 22.079

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% 2.93
UserLambdaFunctionCompilationTest 9 0 0 0 100% 7.584
MetaRuleSetTest 4 0 0 0 100% 8.066

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLookupTests 5 0 0 0 100% 9.67
MapLoaderTest 4 0 0 0 100% 7.927

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomTests 17 0 0 0 100% 15.329
BloomLoaderTest 4 0 0 0 100% 7.764

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
DocMarkdownTest 1 0 0 0 100% 5.346
RoundTripTest 7 0 0 0 100% 86.426
ExtensionDeltaTest 67 0 0 0 100% 237.925
UserLambdaFunctionTest 17 0 0 0 100% 12.315
RuleEngineTest 12 0 0 0 100% 50.405
ReplaceWithMissingAttributesTest 13 0 0 0 100% 5.305
JoinValidationTest 2 0 0 0 100% 7.802
ViewLoaderTest 7 0 0 0 100% 7.082
LookupIdentificationTest 4 0 0 0 100% 3.165
YamlTests 10 0 0 0 100% 21.2
AggregatesTest 27 0 0 0 100% 62.153
RuleFolderTest 13 0 0 0 100% 17.497
TrEitherTest 3 0 0 0 100% 0.276
BaseFunctionalityTest 36 0 0 0 100% 36.756
VariableIdentificationTest 9 0 0 0 100% 3.845
DocsParserTest 13 0 0 0 100% 0.82
ExtensionParquetTest 67 0 0 0 100% 26.619
VersionSerializingTest 1 0 0 0 100% 12.544
ValidationTest 25 0 0 0 100% 7.86
RngAndRowIdTest 9 0 0 0 100% 10.197
CodeGenTest 4 0 0 0 100% 49.765

com.sparkutils.qualityTests.id

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

Test Cases

[Summary] [Package List] [Test Cases]

DocMarkdownTest

testMDRuleDocs 2.592

RoundTripTest

ruleSuiteRoundTrippingToDF 4.706
ruleEngineSuiteRoundTrippingToDF 0.856
ruleEvalToStructAndEncodeBackWithUserType 18.175
ruleEvalToStructAndEncodeBack 17.102
verifyPacking 0.002
ruleEvalToOverallAndDetailsAndEncodeBack 34.578
ruleEvalAndBackViaDisk 8.055

ExtensionDeltaTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.003
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 11.733
testAsymmetricFilterPlanIdJoinDifferentSizeFields 7.72
testAsymmetricFilterPlanJoinEq 9.682
testAsymmetricFilterPlanJoinGt 8.254
testAsymmetricFilterPlanJoinLt 7.392
testForceFunctionInjection 0.211
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.042
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 4.708
testAsymmetricFilterPlanJoinStructEqn 7.339
testAsymmetricFilterPlanJoinStructGtEq 7.065
testAsymmetricFilterPlanJoinStructLtEq 6.947
testAsymmetricFilterPlanJoinMixedEqn 7.176
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0
testAsymmetricFilterPlanIdCallStructs 4.081
testAsymmetricFilterPlanJoinFieldsEq 7.761
testAsymmetricFilterPlanJoinFieldsGt 6.875
testAsymmetricFilterPlanJoinFieldsLt 6.98
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 4.488
testAsymmetricFilterPlanJoinFieldsGtEq 6.943
testAsymmetricFilterPlanJoinFieldsLtEq 6.999
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 7.059
testAsymmetricFilterPlanJoinMixedLtEq 6.793
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0.001
testAsymmetricFilterPlan 3.783
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEq 7.331
testAsymmetricFilterPlanJoinMixedGt 6.912
testAsymmetricFilterPlanJoinMixedLt 6.705
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 6.749
testExtension 0.065
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.034
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 4.486
testDefaultFunctionRegistrationViaBuiltIn 0.109
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 4.284
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 6.889
testAsymmetricFilterPlanJoinGte 6.983
testAsymmetricFilterPlanJoinLte 6.735
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 7.388
testAsymmetricFilterPlanIdCallFields 3.996
testAsymmetricFilterPlanJoinStructEq 7.297
testAsymmetricFilterPlanJoinStructGt 6.869
testAsymmetricFilterPlanJoinStructLt 6.848
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 4.346

UserLambdaFunctionTest

returnLambdaTest 3.581
lambdaNoParamsRuleTest 0.383
lambdaMultiParamLengthExpandedTest 0.291
lambdaMultiParamLengthSelfReferenceTest 0.209
lambdaMultiParamDupeLengthTest 0.049
globalLambdasTest 0.309
testHOFFunForwardDropin 0.19
lambdaMissing0LengthTest 0.051
lambdaRuleTest 0.084
nullInParam 0.324
testCallFunForward 0.13
testHOFLambdaDropin 0.403
testPlaceHolderNullableOverrides 0.378
testHOFDropins 2.061
nestedLambdaRuleTest 0.092
deepPartialTest 0.094
hofTest 0.807

BloomTests

shouldThrowOnUnknownBlooms 2.27
verifyMeasurementSQLRoundTripBucketedArrayMapped 2.493
verifyMeasurementSQLRoundTripSpark 0.74
verifyMeasurementColumnParquet 0.824
verifyMeasurementSQLRoundTripBucketedArrayEager 0.371
verifyInputParams 0.046
verifyMeasurementSQLParquet 0.653
verifyCompilationBucketedArrayEager 1.898
verifyMeasurementColumnSpark 0.498
assertIncrementalBucketsViaFPP 0.002
verifyMeasurementSQLSpark 0.517
verifyCompilationBucketedArrayLazy 0.613
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.214
verifyBloomsAreIdentified 0.031
verifyCompilationBucketedArrayMapped 0.636
verifyCompilationSpark 0.636
assertIncrementalBucketsViaExpectedNums 0.003

IDTests

testAdlerIDGenHashFun 6.578
rountTripProvided 0.003
testMURMUR3_128IDGenHashFun 1.783
testSHA256IDGenHashFun 1.736
testSHA256IDGen 1.076
testMD5IDGenHashFun 1.053
testGuaranteedUniqueIDOps 0.014
testFakeIDGenDigestFun 0.976
testMD5IDGen 0.896
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.48
testMURMUR3IDZAGenHashFun 0.992
testRNGIDGen 0.044
testIDEqual 0.728
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 1.14
rountTripFields 0.001
roundTripGuaranteedUniqueIDLocalMac 0.002
rountTripRandom 0
testMurmur3 0.038
assertsOnGuaranteedUniqueID 0.001
testIDBase64 0.515
testUniqueIDGen 0.159
testRNGIDGenNonJump 0.013
testXXH3IDGenZAHashFun 0.977

RuleEngineTest

testHugeAmountOfRulesSOE 37.919
testSalience 2.348
testDebug 0.388
scalarSubqueryAsOutputExpressionViaLambdaParam 1.435
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.527
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.456
testProbabilityRuleFail 0.588
testProbabilityRulePass 0.227
testFlattenResults 0.972
scalarSubqueryAsOutputExpression 0.356
testSimpleProductionRules 0.292
scalarSubqueryAsOutputExpressionInStruct 2.016

ReplaceWithMissingAttributesTest

testNoReplace 1.838
testWithOutputReplaceCoalesce 0.05
testCalledWithLambdaReplaceCoalesce 0.384
testRuleReplaceWithOutputCoalesce 0.016
testRuleReplaceCoalesce 0.013
testRuleReplaceWithOutputNoReplaceCoalesce 0.014
testCoalesceNested 0.006
testRuleNoReplaceCoalesce 0.011
testRuleDisableCoalesce 0.01
testRuleReplaceWithOutputReplaceCoalesce 0.012
testCalledWithLambdaNoReplaceCoalesce 0.013
testCoalesceNestedNull 0.015
testWithOutputNoReplaceCoalesce 0.011

JoinValidationTest

testViaRelation 4.391
testWithRenames 0.589

ViewLoaderTest

testViewLoads 3.59
testViewLoadsFailedAsInfinite 0.119
testViewLoadsThatDontParse 0.151
testViewLoadsThatNeedQuoting 0.097
testViewLoadsFailedAsJoinsNotPresent 0.092
testConfigLoadingWithoutIds 0.145
testConfigLoading 0.109

RoundTripPrivateTest

ruleExprSwapping 0.093

LookupIdentificationTest

testMixed 0.279
mapLookuplambdaTest 0.044
mapContainslambdaTest 0.015
probabilityInlambdaTest 0.013

UserLambdaFunctionCompilationTest

runDisabledCompilation 3.713
loadHandlersViaProperty 0.004
defaultHofConfigTests 0.003
runNestedCompilation 0.283
withSpecifiedHoFHandler 0.407
loadHandlers 0.002
withDefaultHoF 0.251
convertHandlers 0.003
runDisabledBottom 0.068

YamlTests

sqlTest 4.498
sequenceAsKeys 0.929
nonLiteralMapEntriesTest 0.074
theRest 11.047
sequencesAsValues 0.292
decimalViaYaml 0.195
mapsAsValues 0.369
structsAsValues 0.272
structsAsKeys 0.324
sequenceAsKeysDecimals 0.285

AggregatesTest

mapAggrOnePassDeprecatedTest 4.579
mapTestSort 17.98
mapDeprecatedTestSort 13.541
mapDeprecatedTest 9.101
decimalPrecisionHofTest 0.926
mapStructKeyAggrCountTest 0.248
decimalPrecisionDeprecatedIncTest 0.206
mapAggrOnePassTest 0.313
decimalPrecisionIncExprTest 0.195
sumTestDSL 0.501
decimalPrecisionExprDSLTest 0.096
decimalPrecisionIncTest 0.25
mapAggrSumTest 0.174
decimalPrecisionNO_REWRITEIncTest 0.011
mapAggrSumDeprecatedTest 0.134
mapStructKeyAggrCountDeprecatedTest 0.125
decimalPrecisionIncDSLTest 0.106
mapAggrDecimalDSLTest 0.349
mapAggrCountTest 0.118
mapAggrDecimalTest 0.134
mapTest 9.068
decimalPrecisionTest 0.216
evalSumTest 0.376
decimalPrecisionNO_REWRITETest 0.178
mapAggrCountDeprecatedTest 0.136
decimalPrecisionIncExprDSLTest 0.084
mapAggrCountDSLTest 0.099

RuleFolderTest

testFlattenResultsSet 9.151
testSimpleProductionRulesReplaceOutOfOrderSet 0.586
testSimpleProductionRulesReplaceCustomDDLSet 0.458
testSetSyntaxEqualToButNoAttribute 0.004
testSimpleProductionRulesReplaceSet 0.437
testSimpleProductionRulesReplaceDebug 0.34
testSimpleProductionRulesReplaceDebugSet 0.234
testSimpleProductionRulesReplace 0.45
testSimpleProductionRulesReplaceOutOfOrder 0.347
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.352
testFlattenResults 2.044
testSimpleProductionRules 0.2

TrEitherTest

testFolds 0.182
testGets 0.003
testIs 0

BaseFunctionalityTest

positiveProbResultsOverridden 4.235
typeCheckPackInts 4.085
probabilityOnThree 0.385
verifySimpleExprs 3.601
flattenResultsTest 1.956
testRuleResult 1.022
updateFields 0.689
softShouldShowPassed 0.249
testPrintCode 0.129
testPrintExpr 0.055
testExpressionsWithFields 0.191
disabledOverallShouldBePassed 0.227
flattenResultsWithMissingTest 0.434
testRuleResultDetails 1.109
scalarSubqueryAsTrigger 0.535
testCompareWithArrays 0.407
testCompareWithStructsReverseAndNested 0.464
functionParameterSizes 0.003
verifyResultExprDSL 0.129
negativeProbResultsOverridden 0.267
checkMinimumLengthWorks 0.002
disabled 0.168
failedOnOne 0.144
mapArrays 0.001
testExpressionsWithAggregate 0.76
typeCheckProbability 4.892
testComparableResultsDifferentKeysAndMapValue 3.877
negativeProbResults 0.224
mixedIgnore 0.138
testCompareWithArraysOrderingAndReverse 0.29
oddBoxingIssueShouldRun 0.248
positiveProbResults 0.162
softFail 0.119
longPairEqual 0.091
typeCheckFlatten 1.66
testComparableResults 0.847

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 0.622
testOverloadedLambdas 0.014
testFieldLookupWithLambda 0.336
testNestedAndNonEvaluatedLambda 0.011
testLambdaFromANonLeaf 0.006
testSimpleLambdaLookupWithFunctions 0.006
testSimpleLambdaLookupWithUnknownFunctions 0.034
testSimpleLambdaLookup 0.001
testNonLambdaNonLeaf 0.004

DocsParserTest

descOnlyButWithExprTest 0.599
simpleDescOnlyTest 0.003
simpleNoParamsTest 0.002
emptyDescReturnStarsOnLinesTest 0.053
markdownParsingTest 0.005
simpleParsingTest 0.002
leadingWhiteSpacesTest 0.001
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.003
trailingWhiteSpacesWithAnnotationsTest 0.001
emptyDescParamStarsOnLinesTest 0.001
multilineStarsOnLinesTest 0.001
noDocsTest 0.006

ExtensionParquetTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.004
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 4.407
testAsymmetricFilterPlanIdJoinDifferentSizeFields 0.827
testAsymmetricFilterPlanJoinEq 0.82
testAsymmetricFilterPlanJoinGt 0.631
testAsymmetricFilterPlanJoinLt 0.505
testForceFunctionInjection 0.227
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.057
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.375
testAsymmetricFilterPlanJoinStructEqn 0.496
testAsymmetricFilterPlanJoinStructGtEq 0.427
testAsymmetricFilterPlanJoinStructLtEq 0.475
testAsymmetricFilterPlanJoinMixedEqn 0.401
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0
testAsymmetricFilterPlanIdCallStructs 0.28
testAsymmetricFilterPlanJoinFieldsEq 0.437
testAsymmetricFilterPlanJoinFieldsGt 0.359
testAsymmetricFilterPlanJoinFieldsLt 0.364
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.295
testAsymmetricFilterPlanJoinFieldsGtEq 0.393
testAsymmetricFilterPlanJoinFieldsLtEq 0.385
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEq 0.341
testAsymmetricFilterPlanJoinMixedLtEq 0.325
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 0.201
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 0.376
testAsymmetricFilterPlanJoinMixedGt 0.349
testAsymmetricFilterPlanJoinMixedLt 0.353
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.002
testAsymmetricFilterPlanJoinFieldsEqn 0.387
testExtension 0.217
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.046
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.303
testDefaultFunctionRegistrationViaBuiltIn 0.143
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.297
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0.001
testAsymmetricFilterPlanJoinEQN 0.374
testAsymmetricFilterPlanJoinGte 0.355
testAsymmetricFilterPlanJoinLte 0.333
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0.003
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 4.475
testAsymmetricFilterPlanIdCallFields 0.276
testAsymmetricFilterPlanJoinStructEq 0.32
testAsymmetricFilterPlanJoinStructGt 0.298
testAsymmetricFilterPlanJoinStructLt 0.338
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.293

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 9.622

MapLookupTests

emptyTest 4.841
taxonomyLookup 0.739
multiKey 0.28
lookupTest 0.651
setTest 0.299

ValidationTest

testNestedFieldDoesntError 2.254
testLambdaWithDuplicateArityError 0.069
testFunctionSyntaxError 0.236
testTransformOutput 1.643
testLambdaStackError 0.023
testOutputFunctionSyntaxError 0.018
testLambdaNestedNameError 0.018
testExpressionLookups 0.179
testMissingViews 0.094
testLambdaNestedOverloadedNameWithInterimError 0.014
testAllTheThingsExceptLambdaSOE 0.021
testLambdaSparkUnknownNameError 0.015
testLambdaSyntaxError 0.014
testFunctionNameError 0.008
testLambdaActualStackErrorSuppressed 0.062
testLambdaNestedOverloadedNameError 0.013
testUnknownFunctionRuleRunnerError 0.015
testLambdaActualStackError 0.011
testUnknownFunctionRuleEngineRunnerError 0.013
testNestedFieldLambdaError 0.009
testShowFunction 0.197
testOutputFunctionNameError 0.017
testLambdaNameError 0.009
testAllTheDocsWarnings 0.014
testNestedFieldError 0.006

MetaRuleSetTest

filterExpTest 3.33
regExpTest 0.005
fullLoadTest 1.423
transformLoadTest 0.485

RngAndRowIdTest

rngLongsUUIDTest 4.415
rngBytesTest 0.543
idFromUUIDTest 0.367
rngBytesUUIDTest 0.372
rowIDTest 0.239
rngLongsUUIDNonJumpableTest 0.261
rngLongsTest 0.798
rngBytesUUIDNonJumpableTest 0.289
rngBytesWellsTest 0.116

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 14.883
ruleEngineRunnerDefault 17.658
ruleRunnerTooMuchPerFunc 0.003
ruleRunnerDefault 14.419

MapLoaderTest

testMapLoading 4.348
testConfigLoadingWithoutIds 0.163
testConfigLoading 0.143
testMapSQLLoading 0.47

BloomLoaderTest

testBloomLoading 4.277
testConfigLoadingWithoutIds 0.164
testConfigLoading 0.142
testMapSQLLoading 0.319