Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.common 79 0 0 0 100% 96.399
com.sparkutils.dmn.kogito.classic 3 0 0 0 100% 0.004
org.scalatest.tools 0 0 0 0 0% 191.738

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

com.sparkutils.dmn.kogito.common

Class Tests Errors Failures Skipped Success Rate Time
SimpleTest 35 0 0 0 100% 48.286
DeepTest 28 0 0 0 100% 9.324
EvalAllResultsTest 5 0 0 0 100% 3.272
ExceptionsTest 9 0 0 0 100% 1.369
StaticDataTest 2 0 0 0 100% 34.148

com.sparkutils.dmn.kogito.classic

Class Tests Errors Failures Skipped Success Rate Time
ContextTest 3 0 0 0 100% 0.004

org.scalatest.tools

Class Tests Errors Failures Skipped Success Rate Time
DiscoverySuite 0 0 0 0 0% 95.328
DiscoverySuite 0 0 0 0 0% 96.41

Test Cases

[Summary] [Package List] [Test Cases]

SimpleTest

Loading of Kogito and sample test should work - decision service json 4.516
Loading of Kogito and sample test should work - evaluate all json 2.606
Loading of Kogito and sample test should work - decision service top level fields 2.138
Loading of Kogito and sample test should work - evaluate all top level fields 2.253
Loading of Kogito and sample test should work - decision service top level struct 1.918
Loading of Kogito and sample test should work - evaluate all top level struct 1.71
Loading of Kogito and sample test should work - evaluate * 1.877
Loading of Kogito and sample test should work - decision service top level fields - derive context types 1.594
Loading of Kogito and sample test should work - evaluate all top level fields - derive context types 1.691
Loading of Kogito and sample test should work - decision service top level struct - derive context types 1.496
Loading of Kogito and sample test should work - evaluate all top level struct - derive context types 1.469
Loading of Kogito and sample test should work - evaluate * - derive context types 1.672
Loading of Kogito and sample test should work - decision service json - evalStatus 1.902
Loading of Kogito and sample test should work - evaluate all json - evalStatus 1.781
Loading of Kogito and sample test should work - decision service top level fields - evalStatus 1.798
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus 1.637
Loading of Kogito and sample test should work - decision service top level struct - evalStatus 1.576
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus 1.686
Loading of Kogito and sample test should work - decision service top level fields - evalStatus - derive context types 1.57
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus - derive context types 1.531
Loading of Kogito and sample test should work - decision service top level struct - evalStatus - derive context types 1.426
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus - derive context types 1.305
Write as json - debug 0.423
Write as json - debug - forced code gen 2.61
empty with default context null value 0.307
empty with null result 0.19
nullable fields 0.586
nullable struct 0.492
top fields others nulls - straight through 0.86
top fields others - straight through 0.416
top struct others nulls - straight through 0.389
top struct others - straight through 0.265
top field - straight through 0.253
top field null - straight through 0.186
useful error message with incorrect input types 0.135

ContextTest

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

DeepTest

Deep test JSON 1:1 Reply - String, String context 0.556
Deep test JSON 1:1 Reply - String, String context - null entries 0.314
Deep test JSON 1:1 Reply - String, String context - null maps 0.273
Deep test JSON 1:1 Reply - String, String context - debug 0.296
Deep test JSON 1:1 Reply - String, Boolean context 0.351
Deep test JSON 1:1 Reply - String, Boolean context - debug 0.303
Deep test JSON 1:1 Reply - String, Pair context 0.344
Deep test JSON 1:1 Reply - String, Pair context - debug 0.286
Deep test JSON 1:1 Reply - String, String context - derive context types 0.257
Deep test JSON 1:1 Reply - String, String context - debug - derive context types 0.152
Deep test JSON 1:1 Reply - String, Boolean context - derive context types 0.385
Deep test JSON 1:1 Reply - String, Boolean context - debug - derive context types 0.3
Deep test JSON 1:1 Reply - String, Pair context - derive context types 0.268
Deep test JSON 1:1 Reply - String, Pair context - debug - derive context types 0.291
Deep test struct 1:1 Reply - String, String context 0.395
Deep test struct 1:1 Reply - String, String context - debug 0.33
Deep test struct 1:1 Reply - String, Boolean context 0.27
Deep test struct 1:1 Reply - String, Boolean context - debug 0.402
Deep test struct 1:1 Reply - String, Pair context 0.353
Deep test struct 1:1 Reply - String, Pair context - debug 0.335
Deep test struct 1:1 Reply - String, String context - derive context types 0.286
Deep test struct 1:1 Reply - String, String context - debug - derive context types 0.306
Deep test struct 1:1 Reply - String, Boolean context - derive context types 0.334
Deep test struct 1:1 Reply - String, Boolean context - debug - derive context types 0.328
Deep test struct 1:1 Reply - String, Pair context - derive context types 0.454
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types 0.278
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls 0.425
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls all other types 0.441

EvalAllResultsTest

Lots of decisions with different statuses 0.156
Lots of decisions with different statuses - debug 0.226
Missing decisions in struct 0.108
Extra decisions in struct 0.112
Lots of decisions with different statuses - json out - for compilation tests only 2.668

ExceptionsTest

empty input expression should throw 0.196
bad class input type should throw 0.066
unsupported ddl input type should throw 0.053
unsupported nested ddl input type should throw 0.078
incompatible ddl should throw 0.042
incompatible nested ddl should throw 0.213
bad model should throw 0.176
bad result providers should throw 0.047
sqrt string should throw 0.492

StaticDataTest

Maps work 10.709
Lists work 1.784