Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.017
com.sparkutils.qualityTests.mapLookup 9 0 0 0 100% 18.206
com.sparkutils.qualityTests.bloom 21 0 0 0 100% 23.187
com.sparkutils.qualityTests 341 0 0 0 100% 682.622
com.sparkutils.qualityTests.id 25 0 0 0 100% 24.513

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.918
UserLambdaFunctionCompilationTest 9 0 0 0 100% 7.186
MetaRuleSetTest 4 0 0 0 100% 7.913

com.sparkutils.qualityTests.mapLookup

Class Tests Errors Failures Skipped Success Rate Time
MapLoaderTest 4 0 0 0 100% 8.387
MapLookupTests 5 0 0 0 100% 9.819

com.sparkutils.qualityTests.bloom

Class Tests Errors Failures Skipped Success Rate Time
BloomLoaderTest 4 0 0 0 100% 7.713
BloomTests 17 0 0 0 100% 15.474

com.sparkutils.qualityTests

Class Tests Errors Failures Skipped Success Rate Time
BaseFunctionalityTest 30 0 0 0 100% 38.903
ExtensionParquetTest 67 0 0 0 100% 27.588
RngAndRowIdTest 9 0 0 0 100% 10.39
DocsParserTest 13 0 0 0 100% 0.842
YamlTests 10 0 0 0 100% 20.97
ReplaceWithMissingAttributesTest 13 0 0 0 100% 5.39
VersionSerializingTest 1 0 0 0 100% 12.67
DocMarkdownTest 1 0 0 0 100% 5.369
LookupIdentificationTest 4 0 0 0 100% 3.293
ViewLoaderTest 7 0 0 0 100% 7.072
JoinValidationTest 2 0 0 0 100% 7.812
CodeGenTest 4 0 0 0 100% 49.193
ValidationTest 25 0 0 0 100% 8.239
UserLambdaFunctionTest 17 0 0 0 100% 12.614
ExtensionDeltaTest 67 0 0 0 100% 222.172
AggregatesTest 27 0 0 0 100% 62.864
RuleEngineTest 12 0 0 0 100% 51.975
TrEitherTest 3 0 0 0 100% 0.267
RoundTripTest 7 0 0 0 100% 114.443
VariableIdentificationTest 9 0 0 0 100% 3.929
RuleFolderTest 13 0 0 0 100% 16.627

com.sparkutils.qualityTests.id

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

Test Cases

[Summary] [Package List] [Test Cases]

BaseFunctionalityTest

positiveProbResultsOverridden 4.469
typeCheckPackInts 3.486
verifySimpleExprs 3.484
flattenResultsTest 2.082
testRuleResult 1.131
updateFields 0.659
testPrintCode 0.164
testPrintExpr 0.067
testExpressionsWithFields 0.221
disabledOverallShouldBePassed 0.279
flattenResultsWithMissingTest 0.418
testRuleResultDetails 1.183
scalarSubqueryAsTrigger 0.484
testCompareWithArrays 0.535
testCompareWithStructsReverseAndNested 0.453
functionParameterSizes 0.003
verifyResultExprDSL 0.14
negativeProbResultsOverridden 0.434
checkMinimumLengthWorks 0.004
mapArrays 0.001
testExpressionsWithAggregate 0.84
typeCheckProbability 4.892
testComparableResultsDifferentKeysAndMapValue 6.672
negativeProbResults 0.227
testCompareWithArraysOrderingAndReverse 0.377
oddBoxingIssueShouldRun 0.243
positiveProbResults 0.168
longPairEqual 0.107
typeCheckFlatten 1.755
testComparableResults 0.942

ExtensionParquetTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.003
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 4.512
testAsymmetricFilterPlanIdJoinDifferentSizeFields 0.898
testAsymmetricFilterPlanJoinEq 0.831
testAsymmetricFilterPlanJoinGt 0.581
testAsymmetricFilterPlanJoinLt 0.533
testForceFunctionInjection 0.231
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0.001
testExtensionDisableStar 0.052
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 0.394
testAsymmetricFilterPlanJoinStructEqn 0.514
testAsymmetricFilterPlanJoinStructGtEq 0.445
testAsymmetricFilterPlanJoinStructLtEq 0.512
testAsymmetricFilterPlanJoinMixedEqn 0.427
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 0.285
testAsymmetricFilterPlanJoinFieldsEq 0.468
testAsymmetricFilterPlanJoinFieldsGt 0.4
testAsymmetricFilterPlanJoinFieldsLt 0.403
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 0.318
testAsymmetricFilterPlanJoinFieldsGtEq 0.361
testAsymmetricFilterPlanJoinFieldsLtEq 0.399
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 0.364
testAsymmetricFilterPlanJoinMixedLtEq 0.35
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 0.244
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEq 0.366
testAsymmetricFilterPlanJoinMixedGt 0.367
testAsymmetricFilterPlanJoinMixedLt 0.424
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqn 0.382
testExtension 0.218
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0.001
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.041
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 0.319
testDefaultFunctionRegistrationViaBuiltIn 0.168
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 0.358
testAsymmetricFilterPlanViaExistingSession 0
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 0.368
testAsymmetricFilterPlanJoinGte 0.348
testAsymmetricFilterPlanJoinLte 0.354
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0
testAsymmetricFilterPlanJoinGtViaExistingSession 0.002
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0
testAsymmetricFilterEqSQL 4.794
testAsymmetricFilterPlanIdCallFields 0.253
testAsymmetricFilterPlanJoinStructEq 0.357
testAsymmetricFilterPlanJoinStructGt 0.332
testAsymmetricFilterPlanJoinStructLt 0.378
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 0.353

MapLoaderTest

testMapLoading 4.688
testConfigLoadingWithoutIds 0.18
testConfigLoading 0.159
testMapSQLLoading 0.525

RngAndRowIdTest

rngLongsUUIDTest 4.578
rngBytesTest 0.543
idFromUUIDTest 0.393
rngBytesUUIDTest 0.337
rowIDTest 0.285
rngLongsUUIDNonJumpableTest 0.261
rngLongsTest 0.783
rngBytesUUIDNonJumpableTest 0.282
rngBytesWellsTest 0.108

DocsParserTest

descOnlyButWithExprTest 0.649
simpleDescOnlyTest 0.002
simpleNoParamsTest 0.003
emptyDescReturnStarsOnLinesTest 0.031
markdownParsingTest 0.005
simpleParsingTest 0.001
leadingWhiteSpacesTest 0.002
simpleNoReturnTest 0.001
simpleParamsOnlyTest 0.001
trailingWhiteSpacesWithAnnotationsTest 0.001
emptyDescParamStarsOnLinesTest 0.001
multilineStarsOnLinesTest 0.002
noDocsTest 0.007

YamlTests

sqlTest 4.312
sequenceAsKeys 0.905
nonLiteralMapEntriesTest 0.068
theRest 10.998
sequencesAsValues 0.344
decimalViaYaml 0.215
mapsAsValues 0.36
structsAsValues 0.302
structsAsKeys 0.319
sequenceAsKeysDecimals 0.27

BloomLoaderTest

testBloomLoading 4.334
testConfigLoadingWithoutIds 0.161
testConfigLoading 0.143
testMapSQLLoading 0.322

ReplaceWithMissingAttributesTest

testNoReplace 1.924
testWithOutputReplaceCoalesce 0.054
testCalledWithLambdaReplaceCoalesce 0.509
testRuleReplaceWithOutputCoalesce 0.016
testRuleReplaceCoalesce 0.013
testRuleReplaceWithOutputNoReplaceCoalesce 0.014
testCoalesceNested 0.008
testRuleNoReplaceCoalesce 0.011
testRuleDisableCoalesce 0.008
testRuleReplaceWithOutputReplaceCoalesce 0.013
testCalledWithLambdaNoReplaceCoalesce 0.014
testCoalesceNestedNull 0.011
testWithOutputNoReplaceCoalesce 0.012

VersionSerializingTest

ruleEngineSuiteVersionedRoundTripsDF 9.838

DocMarkdownTest

testMDRuleDocs 2.585

BloomTests

shouldThrowOnUnknownBlooms 2.168
verifyMeasurementSQLRoundTripBucketedArrayMapped 2.431
verifyMeasurementSQLRoundTripSpark 0.77
verifyMeasurementColumnParquet 0.847
verifyMeasurementSQLRoundTripBucketedArrayEager 0.379
verifyInputParams 0.041
verifyMeasurementSQLParquet 0.636
verifyCompilationBucketedArrayEager 1.965
verifyMeasurementColumnSpark 0.631
assertIncrementalBucketsViaFPP 0.004
verifyMeasurementSQLSpark 0.475
verifyCompilationBucketedArrayLazy 0.691
verifyMeasurementSQLRoundTripBucketedArrayLazy 0.259
verifyBloomsAreIdentified 0.028
verifyCompilationBucketedArrayMapped 0.609
verifyCompilationSpark 0.642
assertIncrementalBucketsViaExpectedNums 0.004

LookupIdentificationTest

testMixed 0.299
mapLookuplambdaTest 0.045
mapContainslambdaTest 0.015
probabilityInlambdaTest 0.013

ViewLoaderTest

testViewLoads 3.619
testViewLoadsFailedAsInfinite 0.124
testViewLoadsThatDontParse 0.128
testViewLoadsThatNeedQuoting 0.097
testViewLoadsFailedAsJoinsNotPresent 0.089
testConfigLoadingWithoutIds 0.13
testConfigLoading 0.104

RoundTripPrivateTest

ruleExprSwapping 0.096

IDTests

testAdlerIDGenHashFun 7.203
rountTripProvided 0.006
testMURMUR3_128IDGenHashFun 1.964
testSHA256IDGenHashFun 1.735
testSHA256IDGen 1.321
testMD5IDGenHashFun 1.221
testGuaranteedUniqueIDOps 0.016
testFakeIDGenDigestFun 1.086
testMD5IDGen 1.123
guaranteedUniqueIDMACAddressOverflowTest 0.001
testUUIDRoundTripping 0.407
testMURMUR3IDZAGenHashFun 1.082
testRNGIDGen 0.165
testIDEqual 0.706
equalsTest 0.002
testMURMUR3_128IDZAGenHashFun 1.259
rountTripFields 0.001
roundTripGuaranteedUniqueIDLocalMac 0
rountTripRandom 0.001
testMurmur3 0.205
assertsOnGuaranteedUniqueID 0
testIDBase64 0.511
testUniqueIDGen 0.256
testRNGIDGenNonJump 0.069
testXXH3IDGenZAHashFun 1.266

JoinValidationTest

testViaRelation 4.41
testWithRenames 0.58

CodeGenTest

ruleEngineRunnerTooMuchPerFunc 14.208
ruleEngineRunnerDefault 17.508
ruleRunnerTooMuchPerFunc 0.002
ruleRunnerDefault 14.686

ValidationTest

testNestedFieldDoesntError 2.392
testLambdaWithDuplicateArityError 0.07
testFunctionSyntaxError 0.227
testTransformOutput 1.79
testLambdaStackError 0.021
testOutputFunctionSyntaxError 0.016
testLambdaNestedNameError 0.016
testExpressionLookups 0.185
testMissingViews 0.093
testLambdaNestedOverloadedNameWithInterimError 0.013
testAllTheThingsExceptLambdaSOE 0.021
testLambdaSparkUnknownNameError 0.019
testLambdaSyntaxError 0.013
testFunctionNameError 0.009
testLambdaActualStackErrorSuppressed 0.058
testLambdaNestedOverloadedNameError 0.012
testUnknownFunctionRuleRunnerError 0.015
testLambdaActualStackError 0.011
testUnknownFunctionRuleEngineRunnerError 0.013
testNestedFieldLambdaError 0.01
testShowFunction 0.206
testOutputFunctionNameError 0.008
testLambdaNameError 0.007
testAllTheDocsWarnings 0.014
testNestedFieldError 0.007

UserLambdaFunctionCompilationTest

runDisabledCompilation 3.449
loadHandlersViaProperty 0.003
defaultHofConfigTests 0.003
runNestedCompilation 0.256
withSpecifiedHoFHandler 0.402
loadHandlers 0.005
withDefaultHoF 0.232
convertHandlers 0.001
runDisabledBottom 0.065

UserLambdaFunctionTest

returnLambdaTest 3.455
lambdaNoParamsRuleTest 0.532
lambdaMultiParamLengthExpandedTest 0.448
lambdaMultiParamLengthSelfReferenceTest 0.336
lambdaMultiParamDupeLengthTest 0.046
globalLambdasTest 0.312
testHOFFunForwardDropin 0.196
lambdaMissing0LengthTest 0.046
lambdaRuleTest 0.12
nullInParam 0.321
testCallFunForward 0.114
testHOFLambdaDropin 0.372
testPlaceHolderNullableOverrides 0.38
testHOFDropins 1.998
nestedLambdaRuleTest 0.131
deepPartialTest 0.08
hofTest 0.814

ExtensionDeltaTest

testAsymmetricFilterPlanJoinLteViaExistingSession 0.004
testAsymmetricFilterPlanJoinStructLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsLtEqViaExistingSession 0
testDifferentLengthsId 11.65
testAsymmetricFilterPlanIdJoinDifferentSizeFields 7.343
testAsymmetricFilterPlanJoinEq 9.054
testAsymmetricFilterPlanJoinGt 7.471
testAsymmetricFilterPlanJoinLt 7.302
testForceFunctionInjection 0.212
testAsymmetricFilterPlanJoinMixedLtViaExistingSession 0
testExtensionDisableStar 0.046
testAsymmetricFilterPlanJoinStructGtEqViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStruct 4.392
testAsymmetricFilterPlanJoinStructEqn 6.959
testAsymmetricFilterPlanJoinStructGtEq 6.675
testAsymmetricFilterPlanJoinStructLtEq 6.526
testAsymmetricFilterPlanJoinMixedEqn 6.535
testAsymmetricFilterPlanJoinStructEqViaExistingSession 0.001
testAsymmetricFilterPlanIdCallStructs 3.651
testAsymmetricFilterPlanJoinFieldsEq 7.127
testAsymmetricFilterPlanJoinFieldsGt 6.495
testAsymmetricFilterPlanJoinFieldsLt 6.554
testAsymmetricFilterPlanJoinFieldsLtViaExistingSession 0.001
testAsymmetricFilterPlanIdJoinDifferentSizeStructLT 4.045
testAsymmetricFilterPlanJoinFieldsGtEq 6.493
testAsymmetricFilterPlanJoinFieldsLtEq 6.335
testAsymmetricFilterPlanJoinLtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructEqnViaExistingSession 0
testAsymmetricFilterPlanIdCallFieldsViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtEq 6.433
testAsymmetricFilterPlanJoinMixedLtEq 6.31
testAsymmetricFilterPlanJoinMixedEqnViaExistingSession 0
testAsymmetricFilterPlanJoinMixedEqViaExistingSession 0
testAsymmetricFilterPlan 3.52
testAsymmetricFilterPlanJoinFieldsGtEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedLtEqViaExistingSession 0.003
testAsymmetricFilterPlanJoinMixedEq 6.677
testAsymmetricFilterPlanJoinMixedGt 6.415
testAsymmetricFilterPlanJoinMixedLt 6.24
testAsymmetricFilterPlanJoinStructGtViaExistingSession 0.002
testAsymmetricFilterPlanJoinFieldsEqn 6.208
testExtension 0.064
testAsymmetricFilterPlanJoinEQNViaExistingSession 0
testAsymmetricFilterPlanIdCallStructsViaExistingSession 0
testAsymmetricFilterPlanJoinFieldsEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinFieldsEqnViaExistingSession 0
testAsymmetricFilterPlanJoinEqViaExistingSession 0
testAsymmetricFilterPlanJoinMixedGtViaExistingSession 0
testExtensionDisableSpecific 0.043
testAsymmetricFilterPlanIdJoinDifferentSizeFieldsLT 4.081
testDefaultFunctionRegistrationViaBuiltIn 0.104
testAsymmetricFilterPlanIdJoinDifferentSizeMixedLT 4.011
testAsymmetricFilterPlanViaExistingSession 0.001
testAsymmetricFilterPlanJoinGteViaExistingSession 0
testAsymmetricFilterPlanJoinEQN 6.394
testAsymmetricFilterPlanJoinGte 6.535
testAsymmetricFilterPlanJoinLte 6.48
testAsymmetricFilterPlanJoinFieldsGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinStructLtEqViaExistingSession 0.001
testAsymmetricFilterPlanJoinGtViaExistingSession 0.001
testAsymmetricFilterPlanJoinMixedGtEqViaExistingSession 0.001
testAsymmetricFilterEqSQL 6.955
testAsymmetricFilterPlanIdCallFields 3.664
testAsymmetricFilterPlanJoinStructEq 6.744
testAsymmetricFilterPlanJoinStructGt 6.265
testAsymmetricFilterPlanJoinStructLt 6.372
testAsymmetricFilterPlanIdJoinDifferentSizeMixed 3.964

AggregatesTest

mapAggrOnePassDeprecatedTest 4.684
mapTestSort 18.086
mapDeprecatedTestSort 13.633
mapDeprecatedTest 9.509
decimalPrecisionHofTest 0.93
mapStructKeyAggrCountTest 0.254
decimalPrecisionDeprecatedIncTest 0.212
mapAggrOnePassTest 0.266
decimalPrecisionIncExprTest 0.268
sumTestDSL 0.864
decimalPrecisionExprDSLTest 0.095
decimalPrecisionIncTest 0.207
mapAggrSumTest 0.347
decimalPrecisionNO_REWRITEIncTest 0.015
mapAggrSumDeprecatedTest 0.12
mapStructKeyAggrCountDeprecatedTest 0.103
decimalPrecisionIncDSLTest 0.095
mapAggrDecimalDSLTest 0.149
mapAggrCountTest 0.108
mapAggrDecimalTest 0.123
mapTest 8.53
decimalPrecisionTest 0.208
evalSumTest 0.675
decimalPrecisionNO_REWRITETest 0.208
mapAggrCountDeprecatedTest 0.117
decimalPrecisionIncExprDSLTest 0.082
mapAggrCountDSLTest 0.104

MetaRuleSetTest

filterExpTest 3.329
regExpTest 0.008
fullLoadTest 1.258
transformLoadTest 0.502

RuleEngineTest

testHugeAmountOfRulesSOE 39.253
testSalience 3.295
testDebug 0.515
scalarSubqueryAsOutputExpressionViaLambdaParam 1.295
scalarSubqueryAsOutputExpressionViaLambdaNoParam 0.388
scalarSubqueryAsOutputExpressionViaLambdaNonAttributeParam 0.049
testProbabilityRuleFail 0.522
testProbabilityRulePass 0.201
testFlattenResults 1.186
scalarSubqueryAsOutputExpression 0.338
testSimpleProductionRules 0.151
scalarSubqueryAsOutputExpressionInStruct 1.92

TrEitherTest

testFolds 0.181
testGets 0.003
testIs 0

RoundTripTest

ruleSuiteRoundTrippingToDF 4.87
ruleEngineSuiteRoundTrippingToDF 0.964
ruleEvalToStructAndEncodeBackWithUserType 41.783
ruleEvalToStructAndEncodeBack 17.724
verifyPacking 0.001
ruleEvalToOverallAndDetailsAndEncodeBack 38.138
ruleEvalAndBackViaDisk 7.909

VariableIdentificationTest

testNestedAndNonEvaluatedLambdaReversedOrder 0.632
testOverloadedLambdas 0.015
testFieldLookupWithLambda 0.294
testNestedAndNonEvaluatedLambda 0.012
testLambdaFromANonLeaf 0.009
testSimpleLambdaLookupWithFunctions 0.006
testSimpleLambdaLookupWithUnknownFunctions 0.03
testSimpleLambdaLookup 0.004
testNonLambdaNonLeaf 0.003

MapLookupTests

emptyTest 4.97
taxonomyLookup 0.632
multiKey 0.314
lookupTest 0.758
setTest 0.262

RuleFolderTest

testFlattenResultsSet 8.832
testSimpleProductionRulesReplaceOutOfOrderSet 0.448
testSimpleProductionRulesReplaceCustomDDLSet 0.345
testSetSyntaxEqualToButNoAttribute 0.002
testSimpleProductionRulesReplaceSet 0.333
testSimpleProductionRulesReplaceDebug 0.469
testSimpleProductionRulesReplaceDebugSet 0.383
testSimpleProductionRulesReplace 0.225
testSimpleProductionRulesReplaceOutOfOrder 0.22
testSetSyntaxButNoEqualTo 0.001
testSimpleProductionRulesReplaceCustomDDL 0.193
testFlattenResults 2.058
testSimpleProductionRules 0.149