Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 19.047
com.sparkutils.qualityTests.mapLookup 9 0 0 0 100% 17.78
com.sparkutils.qualityTests.bloom 21 0 0 0 100% 23.366
com.sparkutils.qualityTests 347 0 0 0 100% 686.219
com.sparkutils.qualityTests.id 25 0 0 0 100% 22.201

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.133
UserLambdaFunctionCompilationTest 9 0 0 0 100% 7.746
MetaRuleSetTest 4 0 0 0 100% 8.168

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLookupTests 5 0 0 0 100% 9.768
MapLoaderTest 4 0 0 0 100% 8.012

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomTests 17 0 0 0 100% 15.357
BloomLoaderTest 4 0 0 0 100% 8.009

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
LookupIdentificationTest 4 0 0 0 100% 3.37
RuleFolderTest 13 0 0 0 100% 18.387
RuleEngineTest 12 0 0 0 100% 52.807
ViewLoaderTest 7 0 0 0 100% 7.553
TrEitherTest 3 0 0 0 100% 0.259
BaseFunctionalityTest 36 0 0 0 100% 37.936
VersionSerializingTest 1 0 0 0 100% 12.665
UserLambdaFunctionTest 17 0 0 0 100% 12.79
RngAndRowIdTest 9 0 0 0 100% 10.586
AggregatesTest 27 0 0 0 100% 68.976
RoundTripTest 7 0 0 0 100% 82.143
DocsParserTest 13 0 0 0 100% 0.87
ExtensionParquetTest 67 0 0 0 100% 28.687
DocMarkdownTest 1 0 0 0 100% 5.526
CodeGenTest 4 0 0 0 100% 67.276
ValidationTest 25 0 0 0 100% 8.415
ExtensionDeltaTest 67 0 0 0 100% 228.547
VariableIdentificationTest 9 0 0 0 100% 3.972
YamlTests 10 0 0 0 100% 21.76
ReplaceWithMissingAttributesTest 13 0 0 0 100% 5.671
JoinValidationTest 2 0 0 0 100% 8.023

com.sparkutils.qualityTests.id

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

Test Cases

[Summary] [Package List] [Test Cases]

LookupIdentificationTest

testMixed 0.291
mapLookuplambdaTest 0.044
mapContainslambdaTest 0.017
probabilityInlambdaTest 0.015

RuleFolderTest

testFlattenResultsSet 9.565
testSimpleProductionRulesReplaceOutOfOrderSet 0.62
testSimpleProductionRulesReplaceCustomDDLSet 0.445
testSetSyntaxEqualToButNoAttribute 0.003
testSimpleProductionRulesReplaceSet 0.471
testSimpleProductionRulesReplaceDebug 0.352
testSimpleProductionRulesReplaceDebugSet 0.235
testSimpleProductionRulesReplace 0.454
testSimpleProductionRulesReplaceOutOfOrder 0.366
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.388
testFlattenResults 2.247
testSimpleProductionRules 0.233

RuleEngineTest

testHugeAmountOfRulesSOE 40.07
testSalience 2.5
testDebug 0.431
scalarSubqueryAsOutputExpressionViaLambdaParam 1.525
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.486
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.526
testProbabilityRuleFail 0.416
testProbabilityRulePass 0.22
testFlattenResults 1.018
scalarSubqueryAsOutputExpression 0.321
testSimpleProductionRules 0.262
scalarSubqueryAsOutputExpressionInStruct 2.07

IDTests

testAdlerIDGenHashFun 6.779
rountTripProvided 0.003
testMURMUR3_128IDGenHashFun 1.758
testSHA256IDGenHashFun 1.606
testSHA256IDGen 1.123
testMD5IDGenHashFun 1.071
testGuaranteedUniqueIDOps 0.014
testFakeIDGenDigestFun 1.037
testMD5IDGen 0.93
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.442
testMURMUR3IDZAGenHashFun 0.939
testRNGIDGen 0.047
testIDEqual 0.699
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 1.013
rountTripFields 0
roundTripGuaranteedUniqueIDLocalMac 0.001
rountTripRandom 0.001
testMurmur3 0.037
assertsOnGuaranteedUniqueID 0
testIDBase64 0.536
testUniqueIDGen 0.166
testRNGIDGenNonJump 0.012
testXXH3IDGenZAHashFun 1.036

BloomTests

shouldThrowOnUnknownBlooms 2.268
verifyMeasurementSQLRoundTripBucketedArrayMapped 2.37
verifyMeasurementSQLRoundTripSpark 0.762
verifyMeasurementColumnParquet 0.848
verifyMeasurementSQLRoundTripBucketedArrayEager 0.364
verifyInputParams 0.048
verifyMeasurementSQLParquet 0.62
verifyCompilationBucketedArrayEager 1.896
verifyMeasurementColumnSpark 0.497
assertIncrementalBucketsViaFPP 0.002
verifyMeasurementSQLSpark 0.472
verifyCompilationBucketedArrayLazy 0.632
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.23
verifyBloomsAreIdentified 0.029
verifyCompilationBucketedArrayMapped 0.657
verifyCompilationSpark 0.661
assertIncrementalBucketsViaExpectedNums 0.003

RoundTripPrivateTest

ruleExprSwapping 0.099

UserLambdaFunctionCompilationTest

runDisabledCompilation 3.709
loadHandlersViaProperty 0.003
defaultHofConfigTests 0.003
runNestedCompilation 0.311
withSpecifiedHoFHandler 0.473
loadHandlers 0.002
withDefaultHoF 0.268
convertHandlers 0.001
runDisabledBottom 0.071

ViewLoaderTest

testViewLoads 3.805
testViewLoadsFailedAsInfinite 0.137
testViewLoadsThatDontParse 0.147
testViewLoadsThatNeedQuoting 0.116
testViewLoadsFailedAsJoinsNotPresent 0.096
testConfigLoadingWithoutIds 0.147
testConfigLoading 0.121

TrEitherTest

testFolds 0.183
testGets 0.002
testIs 0

MetaRuleSetTest

filterExpTest 3.421
regExpTest 0.008
fullLoadTest 1.372
transformLoadTest 0.508

MapLookupTests

emptyTest 4.897
taxonomyLookup 0.66
multiKey 0.307
lookupTest 0.641
setTest 0.298

BaseFunctionalityTest

positiveProbResultsOverridden 4.578
typeCheckPackInts 3.517
probabilityOnThree 0.402
verifySimpleExprs 3.79
flattenResultsTest 1.975
testRuleResult 1.083
updateFields 0.566
softShouldShowPassed 0.291
testPrintCode 0.144
testPrintExpr 0.067
testExpressionsWithFields 0.225
disabledOverallShouldBePassed 0.251
flattenResultsWithMissingTest 0.426
testRuleResultDetails 1.223
scalarSubqueryAsTrigger 0.505
testCompareWithArrays 0.402
testCompareWithStructsReverseAndNested 0.645
functionParameterSizes 0.002
verifyResultExprDSL 0.141
negativeProbResultsOverridden 0.253
checkMinimumLengthWorks 0.002
disabled 0.161
failedOnOne 0.157
mapArrays 0.001
testExpressionsWithAggregate 0.915
typeCheckProbability 4.846
testComparableResultsDifferentKeysAndMapValue 4.328
negativeProbResults 0.227
mixedIgnore 0.127
testCompareWithArraysOrderingAndReverse 0.327
oddBoxingIssueShouldRun 0.203
positiveProbResults 0.166
softFail 0.107
longPairEqual 0.099
typeCheckFlatten 1.705
testComparableResults 0.983

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 9.693

UserLambdaFunctionTest

returnLambdaTest 3.732
lambdaNoParamsRuleTest 0.413
lambdaMultiParamLengthExpandedTest 0.298
lambdaMultiParamLengthSelfReferenceTest 0.221
lambdaMultiParamDupeLengthTest 0.051
globalLambdasTest 0.352
testHOFFunForwardDropin 0.185
lambdaMissing0LengthTest 0.051
lambdaRuleTest 0.086
nullInParam 0.316
testCallFunForward 0.14
testHOFLambdaDropin 0.414
testPlaceHolderNullableOverrides 0.409
testHOFDropins 2.101
nestedLambdaRuleTest 0.095
deepPartialTest 0.086
hofTest 0.828

RngAndRowIdTest

rngLongsUUIDTest 4.531
rngBytesTest 0.567
idFromUUIDTest 0.376
rngBytesUUIDTest 0.363
rowIDTest 0.265
rngLongsUUIDNonJumpableTest 0.303
rngLongsTest 0.81
rngBytesUUIDNonJumpableTest 0.285
rngBytesWellsTest 0.105

AggregatesTest

mapAggrOnePassDeprecatedTest 4.897
mapTestSort 20.109
mapDeprecatedTestSort 15.58
mapDeprecatedTest 10.332
decimalPrecisionHofTest 1.03
mapStructKeyAggrCountTest 0.261
decimalPrecisionDeprecatedIncTest 0.248
mapAggrOnePassTest 0.34
decimalPrecisionIncExprTest 0.225
sumTestDSL 0.604
decimalPrecisionExprDSLTest 0.107
decimalPrecisionIncTest 0.259
mapAggrSumTest 0.134
decimalPrecisionNO_REWRITEIncTest 0.012
mapAggrSumDeprecatedTest 0.13
mapStructKeyAggrCountDeprecatedTest 0.118
decimalPrecisionIncDSLTest 0.104
mapAggrDecimalDSLTest 0.392
mapAggrCountTest 0.113
mapAggrDecimalTest 0.133
mapTest 9.707
decimalPrecisionTest 0.206
evalSumTest 0.382
decimalPrecisionNO_REWRITETest 0.169
mapAggrCountDeprecatedTest 0.14
decimalPrecisionIncExprDSLTest 0.084
mapAggrCountDSLTest 0.101

MapLoaderTest

testMapLoading 4.372
testConfigLoadingWithoutIds 0.173
testConfigLoading 0.149
testMapSQLLoading 0.469

RoundTripTest

ruleSuiteRoundTrippingToDF 4.569
ruleEngineSuiteRoundTrippingToDF 0.772
ruleEvalToStructAndEncodeBackWithUserType 18.705
ruleEvalToStructAndEncodeBack 15.602
verifyPacking 0
ruleEvalToOverallAndDetailsAndEncodeBack 31.361
ruleEvalAndBackViaDisk 8.19

BloomLoaderTest

testBloomLoading 4.42
testConfigLoadingWithoutIds 0.174
testConfigLoading 0.167
testMapSQLLoading 0.331

DocsParserTest

descOnlyButWithExprTest 0.635
simpleDescOnlyTest 0.002
simpleNoParamsTest 0.004
emptyDescReturnStarsOnLinesTest 0.052
markdownParsingTest 0.006
simpleParsingTest 0.001
leadingWhiteSpacesTest 0.002
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.003
trailingWhiteSpacesWithAnnotationsTest 0.001
emptyDescParamStarsOnLinesTest 0.001
multilineStarsOnLinesTest 0.001
noDocsTest 0.006

ExtensionParquetTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.003
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 4.646
testAsymmetricFilterPlanIdJoinDifferentSizeFields 0.954
testAsymmetricFilterPlanJoinEq 0.782
testAsymmetricFilterPlanJoinGt 0.582
testAsymmetricFilterPlanJoinLt 0.572
testForceFunctionInjection 0.27
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0.001
testExtensionDisableStar 0.071
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.46
testAsymmetricFilterPlanJoinStructEqn 0.588
testAsymmetricFilterPlanJoinStructGtEq 0.468
testAsymmetricFilterPlanJoinStructLtEq 0.52
testAsymmetricFilterPlanJoinMixedEqn 0.464
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0
testAsymmetricFilterPlanIdCallStructs 0.295
testAsymmetricFilterPlanJoinFieldsEq 0.444
testAsymmetricFilterPlanJoinFieldsGt 0.427
testAsymmetricFilterPlanJoinFieldsLt 0.456
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.352
testAsymmetricFilterPlanJoinFieldsGtEq 0.392
testAsymmetricFilterPlanJoinFieldsLtEq 0.419
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEq 0.362
testAsymmetricFilterPlanJoinMixedLtEq 0.368
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 0.253
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 0.381
testAsymmetricFilterPlanJoinMixedGt 0.379
testAsymmetricFilterPlanJoinMixedLt 0.436
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqn 0.376
testExtension 0.24
testAsymmetricFilterPlanJoinEQNViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.048
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.315
testDefaultFunctionRegistrationViaBuiltIn 0.165
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.398
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 0.376
testAsymmetricFilterPlanJoinGte 0.386
testAsymmetricFilterPlanJoinLte 0.416
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 4.688
testAsymmetricFilterPlanIdCallFields 0.268
testAsymmetricFilterPlanJoinStructEq 0.381
testAsymmetricFilterPlanJoinStructGt 0.349
testAsymmetricFilterPlanJoinStructLt 0.378
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.361

DocMarkdownTest

testMDRuleDocs 2.705

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 14.698
ruleEngineRunnerDefault 27.66
ruleRunnerTooMuchPerFunc 0.003
ruleRunnerDefault 21.953

ValidationTest

testNestedFieldDoesntError 2.406
testLambdaWithDuplicateArityError 0.069
testFunctionSyntaxError 0.296
testTransformOutput 1.756
testLambdaStackError 0.02
testOutputFunctionSyntaxError 0.018
testLambdaNestedNameError 0.018
testExpressionLookups 0.188
testMissingViews 0.097
testLambdaNestedOverloadedNameWithInterimError 0.016
testAllTheThingsExceptLambdaSOE 0.04
testLambdaSparkUnknownNameError 0.021
testLambdaSyntaxError 0.015
testFunctionNameError 0.011
testLambdaActualStackErrorSuppressed 0.089
testLambdaNestedOverloadedNameError 0.018
testUnknownFunctionRuleRunnerError 0.019
testLambdaActualStackError 0.012
testUnknownFunctionRuleEngineRunnerError 0.017
testNestedFieldLambdaError 0.01
testShowFunction 0.185
testOutputFunctionNameError 0.011
testLambdaNameError 0.009
testAllTheDocsWarnings 0.017
testNestedFieldError 0.009

ExtensionDeltaTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.003
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 12.053
testAsymmetricFilterPlanIdJoinDifferentSizeFields 7.779
testAsymmetricFilterPlanJoinEq 9.561
testAsymmetricFilterPlanJoinGt 7.875
testAsymmetricFilterPlanJoinLt 7.332
testForceFunctionInjection 0.235
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.054
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 4.47
testAsymmetricFilterPlanJoinStructEqn 7.069
testAsymmetricFilterPlanJoinStructGtEq 6.755
testAsymmetricFilterPlanJoinStructLtEq 6.671
testAsymmetricFilterPlanJoinMixedEqn 6.724
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 3.765
testAsymmetricFilterPlanJoinFieldsEq 7.33
testAsymmetricFilterPlanJoinFieldsGt 6.587
testAsymmetricFilterPlanJoinFieldsLt 6.618
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 4.125
testAsymmetricFilterPlanJoinFieldsGtEq 6.553
testAsymmetricFilterPlanJoinFieldsLtEq 6.493
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEq 6.606
testAsymmetricFilterPlanJoinMixedLtEq 6.55
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 3.52
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 6.902
testAsymmetricFilterPlanJoinMixedGt 6.546
testAsymmetricFilterPlanJoinMixedLt 6.386
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 6.446
testExtension 0.073
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.041
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 4.215
testDefaultFunctionRegistrationViaBuiltIn 0.118
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 4.08
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 6.487
testAsymmetricFilterPlanJoinGte 6.67
testAsymmetricFilterPlanJoinLte 6.555
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0.001
testAsymmetricFilterEqSQL 7.389
testAsymmetricFilterPlanIdCallFields 3.853
testAsymmetricFilterPlanJoinStructEq 6.928
testAsymmetricFilterPlanJoinStructGt 6.502
testAsymmetricFilterPlanJoinStructLt 6.451
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 4.105

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 0.638
testOverloadedLambdas 0.016
testFieldLookupWithLambda 0.302
testNestedAndNonEvaluatedLambda 0.013
testLambdaFromANonLeaf 0.008
testSimpleLambdaLookupWithFunctions 0.006
testSimpleLambdaLookupWithUnknownFunctions 0.028
testSimpleLambdaLookup 0.004
testNonLambdaNonLeaf 0.004

YamlTests

sqlTest 4.623
sequenceAsKeys 0.956
nonLiteralMapEntriesTest 0.066
theRest 11.325
sequencesAsValues 0.329
decimalViaYaml 0.206
mapsAsValues 0.358
structsAsValues 0.286
structsAsKeys 0.321
sequenceAsKeysDecimals 0.275

ReplaceWithMissingAttributesTest

testNoReplace 1.95
testWithOutputReplaceCoalesce 0.057
testCalledWithLambdaReplaceCoalesce 0.489
testRuleReplaceWithOutputCoalesce 0.016
testRuleReplaceCoalesce 0.013
testRuleReplaceWithOutputNoReplaceCoalesce 0.017
testCoalesceNested 0.008
testRuleNoReplaceCoalesce 0.013
testRuleDisableCoalesce 0.012
testRuleReplaceWithOutputReplaceCoalesce 0.014
testCalledWithLambdaNoReplaceCoalesce 0.013
testCoalesceNestedNull 0.018
testWithOutputNoReplaceCoalesce 0.009

JoinValidationTest

testViaRelation 4.496
testWithRenames 0.583