Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
82 0 0 0 100% 64.983

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.dmn.kogito 82 0 0 0 100% 64.983

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.sparkutils.dmn.kogito

Class Tests Errors Failures Skipped Success Rate Time
DeepTest 28 0 0 0 100% 14.771
ExceptionsTest 9 0 0 0 100% 6.988
SimpleTest 35 0 0 0 100% 24.876
EvalAllResultsTest 5 0 0 0 100% 9.236
StaticDataTest 2 0 0 0 100% 7.949
ContextTest 3 0 0 0 100% 1.163

Test Cases

[Summary] [Package List] [Test Cases]

DeepTest

Deep test JSON 1:1 Reply - String, String context 5.208
Deep test JSON 1:1 Reply - String, String context - null entries 1.337
Deep test JSON 1:1 Reply - String, String context - null maps 0.331
Deep test JSON 1:1 Reply - String, String context - debug 0.33
Deep test JSON 1:1 Reply - String, Boolean context 0.47
Deep test JSON 1:1 Reply - String, Boolean context - debug 0.37
Deep test JSON 1:1 Reply - String, Pair context 0.373
Deep test JSON 1:1 Reply - String, Pair context - debug 0.27
Deep test JSON 1:1 Reply - String, String context - derive context types 0.323
Deep test JSON 1:1 Reply - String, String context - debug - derive context types 0.203
Deep test JSON 1:1 Reply - String, Boolean context - derive context types 0.252
Deep test JSON 1:1 Reply - String, Boolean context - debug - derive context types 0.219
Deep test JSON 1:1 Reply - String, Pair context - derive context types 0.319
Deep test JSON 1:1 Reply - String, Pair context - debug - derive context types 0.223
Deep test struct 1:1 Reply - String, String context 0.438
Deep test struct 1:1 Reply - String, String context - debug 0.299
Deep test struct 1:1 Reply - String, Boolean context 0.256
Deep test struct 1:1 Reply - String, Boolean context - debug 0.226
Deep test struct 1:1 Reply - String, Pair context 0.353
Deep test struct 1:1 Reply - String, Pair context - debug 0.236
Deep test struct 1:1 Reply - String, String context - derive context types 0.229
Deep test struct 1:1 Reply - String, String context - debug - derive context types 0.237
Deep test struct 1:1 Reply - String, Boolean context - derive context types 0.262
Deep test struct 1:1 Reply - String, Boolean context - debug - derive context types 0.254
Deep test struct 1:1 Reply - String, Pair context - derive context types 0.295
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types 0.268
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls 0.373
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls all other types 0.471

ExceptionsTest

empty input expression should throw 4.251
bad class input type should throw 0.09
unsupported ddl input type should throw 0.042
unsupported nested ddl input type should throw 0.103
incompatible ddl should throw 0.032
incompatible nested ddl should throw 1.57
bad model should throw 0.152
bad result providers should throw 0.036
sqrt string should throw 0.369

SimpleTest

Loading of Kogito and sample test should work - decision service json 7.653
Loading of Kogito and sample test should work - evaluate all json 1.048
Loading of Kogito and sample test should work - decision service top level fields 1.012
Loading of Kogito and sample test should work - evaluate all top level fields 0.819
Loading of Kogito and sample test should work - decision service top level struct 0.795
Loading of Kogito and sample test should work - evaluate all top level struct 0.598
Loading of Kogito and sample test should work - evaluate * 0.765
Loading of Kogito and sample test should work - decision service top level fields - derive context types 0.618
Loading of Kogito and sample test should work - evaluate all top level fields - derive context types 0.515
Loading of Kogito and sample test should work - decision service top level struct - derive context types 0.508
Loading of Kogito and sample test should work - evaluate all top level struct - derive context types 0.511
Loading of Kogito and sample test should work - evaluate * - derive context types 0.582
Loading of Kogito and sample test should work - decision service json - evalStatus 0.694
Loading of Kogito and sample test should work - evaluate all json - evalStatus 0.67
Loading of Kogito and sample test should work - decision service top level fields - evalStatus 0.658
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus 0.629
Loading of Kogito and sample test should work - decision service top level struct - evalStatus 0.544
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus 0.538
Loading of Kogito and sample test should work - decision service top level fields - evalStatus - derive context types 0.536
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus - derive context types 0.626
Loading of Kogito and sample test should work - decision service top level struct - evalStatus - derive context types 0.529
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus - derive context types 0.566
Write as json - debug 0.174
Write as json - debug - forced code gen 1.235
empty with default context null value 0.093
empty with null result 0.047
nullable fields 0.165
nullable struct 0.177
top fields others nulls - straight through 0.497
top fields others - straight through 0.178
top struct others nulls - straight through 0.222
top struct others - straight through 0.138
top field - straight through 0.094
top field null - straight through 0.064
useful error message with incorrect input types 0.018

EvalAllResultsTest

Lots of decisions with different statuses 4.86
Lots of decisions with different statuses - debug 0.518
Missing decisions in struct 0.176
Extra decisions in struct 0.162
Lots of decisions with different statuses - json out - for compilation tests only 3.197

StaticDataTest

Maps work 6.951
Lists work 0.674

ContextTest

nested maps 0.822
top level fields 0
top level fields but nested set 0