Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
410 0 0 0 100% 818.434

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.549
com.sparkutils.qualityTests.mapLookup 9 0 0 0 100% 18.08
com.sparkutils.qualityTests.bloom 21 0 0 0 100% 24.325
com.sparkutils.qualityTests 341 0 0 0 100% 732.125
com.sparkutils.qualityTests.id 25 0 0 0 100% 25.355

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
UserLambdaFunctionCompilationTest 9 0 0 0 100% 7.427
RoundTripPrivateTest 1 0 0 0 100% 3.058
MetaRuleSetTest 4 0 0 0 100% 8.064

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLoaderTest 4 0 0 0 100% 7.922
MapLookupTests 5 0 0 0 100% 10.158

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomTests 17 0 0 0 100% 16.779
BloomLoaderTest 4 0 0 0 100% 7.546

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
TrEitherTest 3 0 0 0 100% 0.268
ExtensionParquetTest 67 0 0 0 100% 28.357
AggregatesTest 27 0 0 0 100% 68.229
RuleFolderTest 13 0 0 0 100% 19.165
ValidationTest 25 0 0 0 100% 8.223
YamlTests 10 0 0 0 100% 21.837
CodeGenTest 4 0 0 0 100% 74.824
RoundTripTest 7 0 0 0 100% 116.657
BaseFunctionalityTest 30 0 0 0 100% 39.313
ExtensionDeltaTest 67 0 0 0 100% 231.464
ViewLoaderTest 7 0 0 0 100% 7.52
VariableIdentificationTest 9 0 0 0 100% 3.931
LookupIdentificationTest 4 0 0 0 100% 3.43
ReplaceWithMissingAttributesTest 13 0 0 0 100% 5.514
DocMarkdownTest 1 0 0 0 100% 5.73
RuleEngineTest 12 0 0 0 100% 49.956
JoinValidationTest 2 0 0 0 100% 8.134
UserLambdaFunctionTest 17 0 0 0 100% 13.538
DocsParserTest 13 0 0 0 100% 0.859
RngAndRowIdTest 9 0 0 0 100% 11.188
VersionSerializingTest 1 0 0 0 100% 13.988

com.sparkutils.qualityTests.id

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

Test Cases

[Summary] [Package List] [Test Cases]

TrEitherTest

testFolds 0.184
testGets 0.003
testIs 0

UserLambdaFunctionCompilationTest

runDisabledCompilation 3.528
loadHandlersViaProperty 0.003
defaultHofConfigTests 0.002
runNestedCompilation 0.303
withSpecifiedHoFHandler 0.407
loadHandlers 0.002
withDefaultHoF 0.269
convertHandlers 0.001
runDisabledBottom 0.068

BloomTests

shouldThrowOnUnknownBlooms 2.292
verifyMeasurementSQLRoundTripBucketedArrayMapped 2.916
verifyMeasurementSQLRoundTripSpark 0.767
verifyMeasurementColumnParquet 0.881
verifyMeasurementSQLRoundTripBucketedArrayEager 0.384
verifyInputParams 0.037
verifyMeasurementSQLParquet 0.649
verifyCompilationBucketedArrayEager 2.076
verifyMeasurementColumnSpark 0.677
assertIncrementalBucketsViaFPP 0.003
verifyMeasurementSQLSpark 0.534
verifyCompilationBucketedArrayLazy 0.718
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.24
verifyBloomsAreIdentified 0.033
verifyCompilationBucketedArrayMapped 0.741
verifyCompilationSpark 0.691
assertIncrementalBucketsViaExpectedNums 0.003

ExtensionParquetTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.003
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 4.635
testAsymmetricFilterPlanIdJoinDifferentSizeFields 0.941
testAsymmetricFilterPlanJoinEq 0.844
testAsymmetricFilterPlanJoinGt 0.622
testAsymmetricFilterPlanJoinLt 0.548
testForceFunctionInjection 0.264
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.061
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.444
testAsymmetricFilterPlanJoinStructEqn 0.55
testAsymmetricFilterPlanJoinStructGtEq 0.474
testAsymmetricFilterPlanJoinStructLtEq 0.515
testAsymmetricFilterPlanJoinMixedEqn 0.446
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 0.294
testAsymmetricFilterPlanJoinFieldsEq 0.481
testAsymmetricFilterPlanJoinFieldsGt 0.403
testAsymmetricFilterPlanJoinFieldsLt 0.393
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.344
testAsymmetricFilterPlanJoinFieldsGtEq 0.404
testAsymmetricFilterPlanJoinFieldsLtEq 0.414
testAsymmetricFilterPlanJoinLtViaExistingSession 0
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 0.366
testAsymmetricFilterPlanJoinMixedLtEq 0.375
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0.001
testAsymmetricFilterPlan 0.228
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEq 0.412
testAsymmetricFilterPlanJoinMixedGt 0.379
testAsymmetricFilterPlanJoinMixedLt 0.355
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 0.404
testExtension 0.205
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.041
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.351
testDefaultFunctionRegistrationViaBuiltIn 0.122
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.352
testAsymmetricFilterPlanViaExistingSession 0
testAsymmetricFilterPlanJoinGteViaExistingSession 0.001
testAsymmetricFilterPlanJoinEQN 0.35
testAsymmetricFilterPlanJoinGte 0.368
testAsymmetricFilterPlanJoinLte 0.365
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0.002
testAsymmetricFilterEqSQL 4.761
testAsymmetricFilterPlanIdCallFields 0.294
testAsymmetricFilterPlanJoinStructEq 0.403
testAsymmetricFilterPlanJoinStructGt 0.344
testAsymmetricFilterPlanJoinStructLt 0.367
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.325

IDTests

testAdlerIDGenHashFun 7.731
rountTripProvided 0.003
testMURMUR3_128IDGenHashFun 2.05
testSHA256IDGenHashFun 1.845
testSHA256IDGen 1.376
testMD5IDGenHashFun 1.195
testGuaranteedUniqueIDOps 0.015
testFakeIDGenDigestFun 1.137
testMD5IDGen 1.134
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.322
testMURMUR3IDZAGenHashFun 1.072
testRNGIDGen 0.165
testIDEqual 0.733
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 1.292
rountTripFields 0.001
roundTripGuaranteedUniqueIDLocalMac 0
rountTripRandom 0.001
testMurmur3 0.229
assertsOnGuaranteedUniqueID 0.001
testIDBase64 0.503
testUniqueIDGen 0.26
testRNGIDGenNonJump 0.062
testXXH3IDGenZAHashFun 1.213

AggregatesTest

mapAggrOnePassDeprecatedTest 5.104
mapTestSort 19.878
mapDeprecatedTestSort 14.812
mapDeprecatedTest 10.305
decimalPrecisionHofTest 1.071
mapStructKeyAggrCountTest 0.281
decimalPrecisionDeprecatedIncTest 0.254
mapAggrOnePassTest 0.38
decimalPrecisionIncExprTest 0.254
sumTestDSL 0.928
decimalPrecisionExprDSLTest 0.102
decimalPrecisionIncTest 0.246
mapAggrSumTest 0.137
decimalPrecisionNO_REWRITEIncTest 0.009
mapAggrSumDeprecatedTest 0.351
mapStructKeyAggrCountDeprecatedTest 0.118
decimalPrecisionIncDSLTest 0.109
mapAggrDecimalDSLTest 0.15
mapAggrCountTest 0.108
mapAggrDecimalTest 0.142
mapTest 8.961
decimalPrecisionTest 0.198
evalSumTest 0.703
decimalPrecisionNO_REWRITETest 0.21
mapAggrCountDeprecatedTest 0.149
decimalPrecisionIncExprDSLTest 0.086
mapAggrCountDSLTest 0.119

RuleFolderTest

testFlattenResultsSet 9.411
testSimpleProductionRulesReplaceOutOfOrderSet 0.869
testSimpleProductionRulesReplaceCustomDDLSet 0.632
testSetSyntaxEqualToButNoAttribute 0.003
testSimpleProductionRulesReplaceSet 0.63
testSimpleProductionRulesReplaceDebug 0.379
testSimpleProductionRulesReplaceDebugSet 0.238
testSimpleProductionRulesReplace 0.636
testSimpleProductionRulesReplaceOutOfOrder 0.493
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.556
testFlattenResults 2.129
testSimpleProductionRules 0.254

ValidationTest

testNestedFieldDoesntError 2.401
testLambdaWithDuplicateArityError 0.068
testFunctionSyntaxError 0.249
testTransformOutput 1.708
testLambdaStackError 0.018
testOutputFunctionSyntaxError 0.016
testLambdaNestedNameError 0.016
testExpressionLookups 0.182
testMissingViews 0.102
testLambdaNestedOverloadedNameWithInterimError 0.014
testAllTheThingsExceptLambdaSOE 0.022
testLambdaSparkUnknownNameError 0.016
testLambdaSyntaxError 0.013
testFunctionNameError 0.01
testLambdaActualStackErrorSuppressed 0.069
testLambdaNestedOverloadedNameError 0.013
testUnknownFunctionRuleRunnerError 0.017
testLambdaActualStackError 0.012
testUnknownFunctionRuleEngineRunnerError 0.015
testNestedFieldLambdaError 0.008
testShowFunction 0.199
testOutputFunctionNameError 0.015
testLambdaNameError 0.016
testAllTheDocsWarnings 0.014
testNestedFieldError 0.006

YamlTests

sqlTest 4.749
sequenceAsKeys 0.941
nonLiteralMapEntriesTest 0.071
theRest 11.324
sequencesAsValues 0.313
decimalViaYaml 0.216
mapsAsValues 0.341
structsAsValues 0.317
structsAsKeys 0.305
sequenceAsKeysDecimals 0.263

MapLoaderTest

testMapLoading 4.36
testConfigLoadingWithoutIds 0.149
testConfigLoading 0.138
testMapSQLLoading 0.469

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 14.895
ruleEngineRunnerDefault 31.841
ruleRunnerTooMuchPerFunc 0.002
ruleRunnerDefault 25.175

RoundTripTest

ruleSuiteRoundTrippingToDF 4.697
ruleEngineSuiteRoundTrippingToDF 0.949
ruleEvalToStructAndEncodeBackWithUserType 42.146
ruleEvalToStructAndEncodeBack 16.761
verifyPacking 0.001
ruleEvalToOverallAndDetailsAndEncodeBack 40.62
ruleEvalAndBackViaDisk 8.541

BaseFunctionalityTest

positiveProbResultsOverridden 4.326
typeCheckPackInts 3.723
verifySimpleExprs 3.59
flattenResultsTest 1.993
testRuleResult 1.242
updateFields 0.595
testPrintCode 0.168
testPrintExpr 0.07
testExpressionsWithFields 0.25
disabledOverallShouldBePassed 0.241
flattenResultsWithMissingTest 0.4
testRuleResultDetails 1.065
scalarSubqueryAsTrigger 0.498
testCompareWithArrays 0.543
testCompareWithStructsReverseAndNested 0.519
functionParameterSizes 0.003
verifyResultExprDSL 0.145
negativeProbResultsOverridden 0.248
checkMinimumLengthWorks 0.003
mapArrays 0.001
testExpressionsWithAggregate 0.892
typeCheckProbability 4.929
testComparableResultsDifferentKeysAndMapValue 7.152
negativeProbResults 0.187
testCompareWithArraysOrderingAndReverse 0.417
oddBoxingIssueShouldRun 0.237
positiveProbResults 0.191
longPairEqual 0.118
typeCheckFlatten 1.64
testComparableResults 0.943

MapLookupTests

emptyTest 5.164
taxonomyLookup 0.71
multiKey 0.316
lookupTest 0.747
setTest 0.279

ExtensionDeltaTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.004
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 12.22
testAsymmetricFilterPlanIdJoinDifferentSizeFields 7.76
testAsymmetricFilterPlanJoinEq 10.067
testAsymmetricFilterPlanJoinGt 8.496
testAsymmetricFilterPlanJoinLt 7.478
testForceFunctionInjection 0.203
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.059
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 4.57
testAsymmetricFilterPlanJoinStructEqn 7.217
testAsymmetricFilterPlanJoinStructGtEq 7.109
testAsymmetricFilterPlanJoinStructLtEq 6.833
testAsymmetricFilterPlanJoinMixedEqn 6.791
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 3.823
testAsymmetricFilterPlanJoinFieldsEq 7.553
testAsymmetricFilterPlanJoinFieldsGt 6.805
testAsymmetricFilterPlanJoinFieldsLt 6.74
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 4.204
testAsymmetricFilterPlanJoinFieldsGtEq 6.643
testAsymmetricFilterPlanJoinFieldsLtEq 6.704
testAsymmetricFilterPlanJoinLtViaExistingSession 0
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 6.63
testAsymmetricFilterPlanJoinMixedLtEq 6.714
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0.001
testAsymmetricFilterPlan 3.548
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0.003
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEq 6.882
testAsymmetricFilterPlanJoinMixedGt 6.533
testAsymmetricFilterPlanJoinMixedLt 6.443
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 6.423
testExtension 0.07
testAsymmetricFilterPlanJoinEQNViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.044
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 4.203
testDefaultFunctionRegistrationViaBuiltIn 0.117
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 4.203
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 6.529
testAsymmetricFilterPlanJoinGte 6.493
testAsymmetricFilterPlanJoinLte 6.496
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0.001
testAsymmetricFilterEqSQL 7.077
testAsymmetricFilterPlanIdCallFields 3.772
testAsymmetricFilterPlanJoinStructEq 6.883
testAsymmetricFilterPlanJoinStructGt 6.461
testAsymmetricFilterPlanJoinStructLt 6.409
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 4.111

ViewLoaderTest

testViewLoads 3.894
testViewLoadsFailedAsInfinite 0.14
testViewLoadsThatDontParse 0.154
testViewLoadsThatNeedQuoting 0.113
testViewLoadsFailedAsJoinsNotPresent 0.094
testConfigLoadingWithoutIds 0.127
testConfigLoading 0.11

RoundTripPrivateTest

ruleExprSwapping 0.098

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 0.64
testOverloadedLambdas 0.011
testFieldLookupWithLambda 0.305
testNestedAndNonEvaluatedLambda 0.008
testLambdaFromANonLeaf 0.006
testSimpleLambdaLookupWithFunctions 0.005
testSimpleLambdaLookupWithUnknownFunctions 0.026
testSimpleLambdaLookup 0.003
testNonLambdaNonLeaf 0.004

LookupIdentificationTest

testMixed 0.301
mapLookuplambdaTest 0.048
mapContainslambdaTest 0.017
probabilityInlambdaTest 0.016

ReplaceWithMissingAttributesTest

testNoReplace 2.017
testWithOutputReplaceCoalesce 0.049
testCalledWithLambdaReplaceCoalesce 0.37
testRuleReplaceWithOutputCoalesce 0.017
testRuleReplaceCoalesce 0.012
testRuleReplaceWithOutputNoReplaceCoalesce 0.016
testCoalesceNested 0.008
testRuleNoReplaceCoalesce 0.011
testRuleDisableCoalesce 0.011
testRuleReplaceWithOutputReplaceCoalesce 0.013
testCalledWithLambdaNoReplaceCoalesce 0.013
testCoalesceNestedNull 0.009
testWithOutputNoReplaceCoalesce 0.012

MetaRuleSetTest

filterExpTest 3.367
regExpTest 0.009
fullLoadTest 1.328
transformLoadTest 0.497

DocMarkdownTest

testMDRuleDocs 2.83

BloomLoaderTest

testBloomLoading 4.164
testConfigLoadingWithoutIds 0.164
testConfigLoading 0.145
testMapSQLLoading 0.308

RuleEngineTest

testHugeAmountOfRulesSOE 36.448
testSalience 2.654
testDebug 0.666
scalarSubqueryAsOutputExpressionViaLambdaParam 1.418
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.506
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.581
testProbabilityRuleFail 0.395
testProbabilityRulePass 0.239
testFlattenResults 1.281
scalarSubqueryAsOutputExpression 0.358
testSimpleProductionRules 0.407
scalarSubqueryAsOutputExpressionInStruct 2.032

JoinValidationTest

testViaRelation 4.604
testWithRenames 0.582

UserLambdaFunctionTest

returnLambdaTest 3.741
lambdaNoParamsRuleTest 0.577
lambdaMultiParamLengthExpandedTest 0.463
lambdaMultiParamLengthSelfReferenceTest 0.346
lambdaMultiParamDupeLengthTest 0.048
globalLambdasTest 0.337
testHOFFunForwardDropin 0.17
lambdaMissing0LengthTest 0.044
lambdaRuleTest 0.123
nullInParam 0.348
testCallFunForward 0.128
testHOFLambdaDropin 0.389
testPlaceHolderNullableOverrides 0.37
testHOFDropins 2.078
nestedLambdaRuleTest 0.143
deepPartialTest 0.084
hofTest 0.827

DocsParserTest

descOnlyButWithExprTest 0.624
simpleDescOnlyTest 0.002
simpleNoParamsTest 0.003
emptyDescReturnStarsOnLinesTest 0.055
markdownParsingTest 0.006
simpleParsingTest 0.001
leadingWhiteSpacesTest 0.001
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.003
trailingWhiteSpacesWithAnnotationsTest 0.001
emptyDescParamStarsOnLinesTest 0.001
multilineStarsOnLinesTest 0.001
noDocsTest 0.006

RngAndRowIdTest

rngLongsUUIDTest 4.843
rngBytesTest 0.587
idFromUUIDTest 0.382
rngBytesUUIDTest 0.379
rowIDTest 0.247
rngLongsUUIDNonJumpableTest 0.282
rngLongsTest 0.905
rngBytesUUIDNonJumpableTest 0.279
rngBytesWellsTest 0.132

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 10.488