Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
298 0 0 0 100% 1,123.272

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% 27.849
com.sparkutils.qualityTests.mapLookup 5 0 0 0 100% 15.111
com.sparkutils.qualityTests.bloom 17 0 0 0 100% 26.298
com.sparkutils.qualityTests 237 0 0 0 100% 1,006.718
com.sparkutils.qualityTests.id 25 0 0 0 100% 47.296

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% 4.655
MetaRuleSetTest 4 0 0 0 100% 12.109
UserLambdaFunctionCompilationTest 9 0 0 0 100% 11.085

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLookupTests 5 0 0 0 100% 15.111

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomTests 17 0 0 0 100% 26.298

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
RoundTripTest 7 0 0 0 100% 400.447
DocMarkdownTest 1 0 0 0 100% 7.928
BaseFunctionalityTest 21 0 0 0 100% 131.471
RuleEngineTest 12 0 0 0 100% 84.218
UserLambdaFunctionTest 17 0 0 0 100% 19.908
ValidationTest 25 0 0 0 100% 12.141
DocsParserTest 8 0 0 0 100% 1.072
ExtensionTest 64 0 0 0 100% 36.559
VersionSerializingTest 1 0 0 0 100% 21.082
RngAndRowIdTest 11 0 0 0 100% 30.15
AggregatesTest 21 0 0 0 100% 122.925
RuleFolderTest 13 0 0 0 100% 23.321
LookupIdentificationTest 5 0 0 0 100% 5.024
TrEitherTest 3 0 0 0 100% 0.456
ReplaceWithMissingAttributesTest 13 0 0 0 100% 7.863
JoinValidationTest 2 0 0 0 100% 12.15
VariableIdentificationTest 9 0 0 0 100% 5.96
CodeGenTest 4 0 0 0 100% 84.043

com.sparkutils.qualityTests.id

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

Test Cases

[Summary] [Package List] [Test Cases]

RoundTripTest

ruleSuiteRoundTrippingToDF 7.708
ruleEngineSuiteRoundTrippingToDF 1.592
ruleEvalToStructAndEncodeBackWithUserType 156.607
ruleEvalToStructAndEncodeBack 69.399
verifyPacking 0.001
ruleEvalToOverallAndDetailsAndEncodeBack 143.743
ruleEvalAndBackViaDisk 17.001

DocMarkdownTest

testMDRuleDocs 3.577

BaseFunctionalityTest

positiveProbResultsOverridden 6.892
typeCheckPackInts 37.847
verifySimpleExprs 5.183
flattenResultsTest 1.679
testPrintCode 0.399
testPrintExpr 0.146
disabledOverallShouldBePassed 0.404
flattenResultsWithMissingTest 0.776
scalarSubqueryAsTrigger 0.903
testCompareWithArrays 1.291
testCompareWithStructsReverseAndNested 0.891
negativeProbResultsOverridden 0.443
mapArrays 0.002
typeCheckProbability 35.96
testComparableResultsDifferentKeysAndMapValue 12.833
negativeProbResults 0.264
testCompareWithArraysOrderingAndReverse 0.652
oddBoxingIssueShouldRun 0.388
positiveProbResults 0.24
typeCheckFlatten 18.098
testComparableResults 1.578

BloomTests

shouldThrowOnUnknownBlooms 3.129
verifyMeasurementSQLRoundTripBucketedArrayMapped 4.301
verifyMeasurementSQLRoundTripSpark 1.254
verifyMeasurementColumnParquet 1.621
verifyMeasurementSQLRoundTripBucketedArrayEager 0.627
verifyInputParams 0.079
verifyMeasurementSQLParquet 1.292
verifyCompilationBucketedArrayEager 3.543
verifyMeasurementColumnSpark 0.886
assertIncrementalBucketsViaFPP 0.003
verifyMeasurementSQLSpark 0.818
verifyCompilationBucketedArrayLazy 1.225
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.464
verifyBloomsAreIdentified 0.041
verifyCompilationBucketedArrayMapped 1.197
verifyCompilationSpark 1.288
assertIncrementalBucketsViaExpectedNums 0.005

RuleEngineTest

testHugeAmountOfRulesSOE 67.917
testSalience 3.278
testDebug 0.872
scalarSubqueryAsOutputExpressionViaLambdaParam 2.932
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.932
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.103
testProbabilityRuleFail 0.543
testProbabilityRulePass 0.723
testFlattenResults 0.533
scalarSubqueryAsOutputExpression 0.728
testSimpleProductionRules 0.697
scalarSubqueryAsOutputExpressionInStruct 0.626

UserLambdaFunctionTest

returnLambdaTest 5.501
lambdaNoParamsRuleTest 0.713
lambdaMultiParamLengthExpandedTest 0.68
lambdaMultiParamLengthSelfReferenceTest 0.513
lambdaMultiParamDupeLengthTest 0.06
globalLambdasTest 0.509
testHOFFunForwardDropin 0.233
lambdaMissing0LengthTest 0.069
lambdaRuleTest 0.174
nullInParam 0.63
testCallFunForward 0.21
testHOFLambdaDropin 0.623
testPlaceHolderNullableOverrides 0.648
testHOFDropins 3.228
nestedLambdaRuleTest 0.212
deepPartialTest 0.161
hofTest 1.281

ValidationTest

testNestedFieldDoesntError 3.353
testLambdaWithDuplicateArityError 0.103
testFunctionSyntaxError 0.264
testTransformOutput 2.796
testLambdaStackError 0.039
testOutputFunctionSyntaxError 0.029
testLambdaNestedNameError 0.032
testExpressionLookups 0.089
testMissingViews 0.178
testLambdaNestedOverloadedNameWithInterimError 0.022
testAllTheThingsExceptLambdaSOE 0.039
testLambdaSparkUnknownNameError 0.034
testLambdaSyntaxError 0.027
testFunctionNameError 0.013
testLambdaActualStackErrorSuppressed 0.108
testLambdaNestedOverloadedNameError 0.016
testUnknownFunctionRuleRunnerError 0.027
testLambdaActualStackError 0.023
testUnknownFunctionRuleEngineRunnerError 0.021
testNestedFieldLambdaError 0.015
testShowFunction 0.348
testOutputFunctionNameError 0.018
testLambdaNameError 0.012
testAllTheDocsWarnings 0.016
testNestedFieldError 0.009

DocsParserTest

descOnlyButWithExprTest 0.911
simpleDescOnlyTest 0.001
simpleNoParamsTest 0.002
markdownParsingTest 0.029
simpleParsingTest 0.002
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.002
noDocsTest 0.008

RoundTripPrivateTest

ruleExprSwapping 0.191

ExtensionTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.005
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0.001
testDifferentLengthsId 7.501
testAsymmetricFilterPlanIdJoinDifferentSizeFields 1.297
testAsymmetricFilterPlanJoinEq 1.355
testAsymmetricFilterPlanJoinGt 0.93
testAsymmetricFilterPlanJoinLt 0.891
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0.002
testExtensionDisableStar 0.101
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.7
testAsymmetricFilterPlanJoinStructEqn 0.885
testAsymmetricFilterPlanJoinStructGtEq 0.734
testAsymmetricFilterPlanJoinStructLtEq 0.728
testAsymmetricFilterPlanJoinMixedEqn 0.848
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 0.443
testAsymmetricFilterPlanJoinFieldsEq 0.688
testAsymmetricFilterPlanJoinFieldsGt 0.735
testAsymmetricFilterPlanJoinFieldsLt 0.684
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.002
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.607
testAsymmetricFilterPlanJoinFieldsGtEq 0.739
testAsymmetricFilterPlanJoinFieldsLtEq 0.685
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0.001
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 0.639
testAsymmetricFilterPlanJoinMixedLtEq 0.632
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0.001
testAsymmetricFilterPlan 0.364
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEq 0.585
testAsymmetricFilterPlanJoinMixedGt 0.522
testAsymmetricFilterPlanJoinMixedLt 0.653
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 0.564
testExtension 0.37
testAsymmetricFilterPlanJoinEQNViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0.001
testExtensionDisableSpecific 0.063
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.491
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.55
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0.001
testAsymmetricFilterPlanJoinEQN 0.637
testAsymmetricFilterPlanJoinGte 0.535
testAsymmetricFilterPlanJoinLte 0.554
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterPlanIdCallFields 0.329
testAsymmetricFilterPlanJoinStructEq 0.64
testAsymmetricFilterPlanJoinStructGt 0.539
testAsymmetricFilterPlanJoinStructLt 0.536
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.495

MapLookupTests

emptyTest 6.627
taxonomyLookup 1.953
multiKey 0.422
lookupTest 1.313
setTest 0.369

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 16.701

RngAndRowIdTest

rngLongsUUIDTest 7.121
saferRowIDNormalRNGTest 7.797
rngBytesTest 0.612
idFromUUIDTest 0.932
rngBytesUUIDTest 0.608
saferRowIDBadRNGTest 6.053
rowIDTest 0.485
rngLongsUUIDNonJumpableTest 0.43
rngLongsTest 0.715
rngBytesUUIDNonJumpableTest 0.435
rngBytesWellsTest 0.387

AggregatesTest

mapAggrOnePassDeprecatedTest 7.474
mapTestSort 37.864
mapDeprecatedTestSort 28.627
mapDeprecatedTest 20.225
decimalPrecisionHofTest 0.979
mapStructKeyAggrCountTest 0.507
decimalPrecisionDeprecatedIncTest 0.236
mapAggrOnePassTest 0.559
decimalPrecisionIncExprTest 0.227
decimalPrecisionIncTest 0.219
mapAggrSumTest 0.209
decimalPrecisionNO_REWRITEIncTest 0.013
mapAggrSumDeprecatedTest 0.211
mapStructKeyAggrCountDeprecatedTest 0.206
mapAggrCountTest 0.221
mapAggrDecimalTest 0.226
mapTest 18.283
decimalPrecisionTest 0.261
evalSumTest 1.57
decimalPrecisionNO_REWRITETest 0.205
mapAggrCountDeprecatedTest 0.208

RuleFolderTest

testFlattenResultsSet 11.954
testSimpleProductionRulesReplaceOutOfOrderSet 0.859
testSimpleProductionRulesReplaceCustomDDLSet 0.6
testSetSyntaxEqualToButNoAttribute 0.007
testSimpleProductionRulesReplaceSet 0.642
testSimpleProductionRulesReplaceDebug 0.849
testSimpleProductionRulesReplaceDebugSet 0.633
testSimpleProductionRulesReplace 0.312
testSimpleProductionRulesReplaceOutOfOrder 0.295
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.299
testFlattenResults 2.242
testSimpleProductionRules 0.201

MetaRuleSetTest

filterExpTest 5.061
regExpTest 0.011
fullLoadTest 1.816
transformLoadTest 0.743

IDTests

testAdlerIDGenHashFun 13.049
rountTripProvided 0.003
testMURMUR3_128IDGenHashFun 3.639
testSHA256IDGenHashFun 3.737
testSHA256IDGen 2.946
testMD5IDGenHashFun 2.894
testGuaranteedUniqueIDOps 0.019
testFakeIDGenDigestFun 2.612
testMD5IDGen 2.519
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.546
testMURMUR3IDZAGenHashFun 2.579
testRNGIDGen 0.249
testIDEqual 1.248
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 2.803
rountTripFields 0.001
roundTripGuaranteedUniqueIDLocalMac 0
rountTripRandom 0
testMurmur3 0.278
assertsOnGuaranteedUniqueID 0.001
testIDBase64 0.883
testUniqueIDGen 0.375
testRNGIDGenNonJump 0.09
testXXH3IDGenZAHashFun 2.303

LookupIdentificationTest

testMixed 0.457
saferRowIdlambdaTest 0.047
mapLookuplambdaTest 0.026
mapContainslambdaTest 0.034
probabilityInlambdaTest 0.026

TrEitherTest

testFolds 0.005
testGets 0.003
testIs 0

UserLambdaFunctionCompilationTest

runDisabledCompilation 5.419
loadHandlersViaProperty 0.003
defaultHofConfigTests 0.003
runNestedCompilation 0.404
withSpecifiedHoFHandler 0.552
loadHandlers 0.003
withDefaultHoF 0.337
convertHandlers 0.001
runDisabledBottom 0.074

ReplaceWithMissingAttributesTest

testNoReplace 2.591
testWithOutputReplaceCoalesce 0.085
testCalledWithLambdaReplaceCoalesce 0.59
testRuleReplaceWithOutputCoalesce 0.03
testRuleReplaceCoalesce 0.023
testRuleReplaceWithOutputNoReplaceCoalesce 0.025
testCoalesceNested 0.012
testRuleNoReplaceCoalesce 0.018
testRuleDisableCoalesce 0.02
testRuleReplaceWithOutputReplaceCoalesce 0.023
testCalledWithLambdaNoReplaceCoalesce 0.022
testCoalesceNestedNull 0.015
testWithOutputNoReplaceCoalesce 0.016

JoinValidationTest

testViaRelation 6.825
testWithRenames 1.04

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 1.025
testOverloadedLambdas 0.014
testFieldLookupWithLambda 0.46
testNestedAndNonEvaluatedLambda 0.011
testLambdaFromANonLeaf 0.009
testSimpleLambdaLookupWithFunctions 0.006
testSimpleLambdaLookupWithUnknownFunctions 0.03
testSimpleLambdaLookup 0.005
testNonLambdaNonLeaf 0.004

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 23.552
ruleEngineRunnerDefault 30.519
ruleRunnerTooMuchPerFunc 0.003
ruleRunnerDefault 25.642