Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 66.429

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
ContextTest 3 0 0 0 100% 1.14
StaticDataTest 2 0 0 0 100% 7.907
EvalAllResultsTest 5 0 0 0 100% 9.415
ExceptionsTest 9 0 0 0 100% 6.899
SimpleTest 35 0 0 0 100% 25.801
DeepTest 28 0 0 0 100% 15.267

Test Cases

[Summary] [Package List] [Test Cases]

ContextTest

nested maps 0.807
top level fields 0
top level fields but nested set 0.001

StaticDataTest

Maps work 6.841
Lists work 0.734

EvalAllResultsTest

Lots of decisions with different statuses 4.969
Lots of decisions with different statuses - debug 0.434
Missing decisions in struct 0.217
Extra decisions in struct 0.156
Lots of decisions with different statuses - json out - for compilation tests only 3.314

ExceptionsTest

empty input expression should throw 4.223
bad class input type should throw 0.086
unsupported ddl input type should throw 0.039
unsupported nested ddl input type should throw 0.095
incompatible ddl should throw 0.028
incompatible nested ddl should throw 1.542
bad model should throw 0.131
bad result providers should throw 0.036
sqrt string should throw 0.357

SimpleTest

Loading of Kogito and sample test should work - decision service json 7.995
Loading of Kogito and sample test should work - evaluate all json 1.101
Loading of Kogito and sample test should work - decision service top level fields 1.503
Loading of Kogito and sample test should work - evaluate all top level fields 0.799
Loading of Kogito and sample test should work - decision service top level struct 0.774
Loading of Kogito and sample test should work - evaluate all top level struct 0.722
Loading of Kogito and sample test should work - evaluate * 0.714
Loading of Kogito and sample test should work - decision service top level fields - derive context types 0.592
Loading of Kogito and sample test should work - evaluate all top level fields - derive context types 0.615
Loading of Kogito and sample test should work - decision service top level struct - derive context types 0.623
Loading of Kogito and sample test should work - evaluate all top level struct - derive context types 0.567
Loading of Kogito and sample test should work - evaluate * - derive context types 0.571
Loading of Kogito and sample test should work - decision service json - evalStatus 0.622
Loading of Kogito and sample test should work - evaluate all json - evalStatus 0.548
Loading of Kogito and sample test should work - decision service top level fields - evalStatus 0.626
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus 0.548
Loading of Kogito and sample test should work - decision service top level struct - evalStatus 0.543
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus 0.633
Loading of Kogito and sample test should work - decision service top level fields - evalStatus - derive context types 0.658
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus - derive context types 0.598
Loading of Kogito and sample test should work - decision service top level struct - evalStatus - derive context types 0.501
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus - derive context types 0.536
Write as json - debug 0.17
Write as json - debug - forced code gen 1.209
empty with default context null value 0.095
empty with null result 0.054
nullable fields 0.166
nullable struct 0.14
top fields others nulls - straight through 0.503
top fields others - straight through 0.16
top struct others nulls - straight through 0.196
top struct others - straight through 0.128
top field - straight through 0.109
top field null - straight through 0.077
useful error message with incorrect input types 0.02

DeepTest

Deep test JSON 1:1 Reply - String, String context 5.164
Deep test JSON 1:1 Reply - String, String context - null entries 1.288
Deep test JSON 1:1 Reply - String, String context - null maps 0.348
Deep test JSON 1:1 Reply - String, String context - debug 0.393
Deep test JSON 1:1 Reply - String, Boolean context 0.404
Deep test JSON 1:1 Reply - String, Boolean context - debug 0.311
Deep test JSON 1:1 Reply - String, Pair context 0.396
Deep test JSON 1:1 Reply - String, Pair context - debug 0.261
Deep test JSON 1:1 Reply - String, String context - derive context types 0.276
Deep test JSON 1:1 Reply - String, String context - debug - derive context types 0.222
Deep test JSON 1:1 Reply - String, Boolean context - derive context types 0.32
Deep test JSON 1:1 Reply - String, Boolean context - debug - derive context types 0.241
Deep test JSON 1:1 Reply - String, Pair context - derive context types 0.255
Deep test JSON 1:1 Reply - String, Pair context - debug - derive context types 0.246
Deep test struct 1:1 Reply - String, String context 0.508
Deep test struct 1:1 Reply - String, String context - debug 0.5
Deep test struct 1:1 Reply - String, Boolean context 0.484
Deep test struct 1:1 Reply - String, Boolean context - debug 0.416
Deep test struct 1:1 Reply - String, Pair context 0.325
Deep test struct 1:1 Reply - String, Pair context - debug 0.258
Deep test struct 1:1 Reply - String, String context - derive context types 0.265
Deep test struct 1:1 Reply - String, String context - debug - derive context types 0.256
Deep test struct 1:1 Reply - String, Boolean context - derive context types 0.254
Deep test struct 1:1 Reply - String, Boolean context - debug - derive context types 0.244
Deep test struct 1:1 Reply - String, Pair context - derive context types 0.265
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types 0.285
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls 0.31
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls all other types 0.422