Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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

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.042
ExceptionsTest 9 0 0 0 100% 7.627
StaticDataTest 2 0 0 0 100% 9.275
EvalAllResultsTest 5 0 0 0 100% 10.315
SimpleTest 35 0 0 0 100% 29.392
DeepTest 28 0 0 0 100% 18.301

Test Cases

[Summary] [Package List] [Test Cases]

ContextTest

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

ExceptionsTest

empty input expression should throw 4.684
bad class input type should throw 0.114
unsupported ddl input type should throw 0.05
unsupported nested ddl input type should throw 0.147
incompatible ddl should throw 0.038
incompatible nested ddl should throw 1.647
bad model should throw 0.157
bad result providers should throw 0.04
sqrt string should throw 0.441

StaticDataTest

Maps work 8.071
Lists work 0.898

EvalAllResultsTest

Lots of decisions with different statuses 5.69
Lots of decisions with different statuses - debug 0.434
Missing decisions in struct 0.161
Extra decisions in struct 0.156
Lots of decisions with different statuses - json out - for compilation tests only 3.564

SimpleTest

Loading of Kogito and sample test should work - decision service json 8.975
Loading of Kogito and sample test should work - evaluate all json 1.262
Loading of Kogito and sample test should work - decision service top level fields 1.051
Loading of Kogito and sample test should work - evaluate all top level fields 0.905
Loading of Kogito and sample test should work - decision service top level struct 0.935
Loading of Kogito and sample test should work - evaluate all top level struct 0.739
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.682
Loading of Kogito and sample test should work - evaluate all top level fields - derive context types 0.617
Loading of Kogito and sample test should work - decision service top level struct - derive context types 0.749
Loading of Kogito and sample test should work - evaluate all top level struct - derive context types 0.654
Loading of Kogito and sample test should work - evaluate * - derive context types 0.609
Loading of Kogito and sample test should work - decision service json - evalStatus 0.897
Loading of Kogito and sample test should work - evaluate all json - evalStatus 0.745
Loading of Kogito and sample test should work - decision service top level fields - evalStatus 0.742
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus 0.698
Loading of Kogito and sample test should work - decision service top level struct - evalStatus 0.655
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus 0.639
Loading of Kogito and sample test should work - decision service top level fields - evalStatus - derive context types 0.649
Loading of Kogito and sample test should work - evaluate all top level fields - evalStatus - derive context types 0.687
Loading of Kogito and sample test should work - decision service top level struct - evalStatus - derive context types 0.683
Loading of Kogito and sample test should work - evaluate all top level struct - evalStatus - derive context types 0.677
Write as json - debug 0.215
Write as json - debug - forced code gen 1.556
empty with default context null value 0.133
empty with null result 0.056
nullable fields 0.265
nullable struct 0.189
top fields others nulls - straight through 0.566
top fields others - straight through 0.42
top struct others nulls - straight through 0.269
top struct others - straight through 0.152
top field - straight through 0.126
top field null - straight through 0.087
useful error message with incorrect input types 0.018

DeepTest

Deep test JSON 1:1 Reply - String, String context 6.264
Deep test JSON 1:1 Reply - String, String context - null entries 1.704
Deep test JSON 1:1 Reply - String, String context - null maps 0.401
Deep test JSON 1:1 Reply - String, String context - debug 0.442
Deep test JSON 1:1 Reply - String, Boolean context 0.45
Deep test JSON 1:1 Reply - String, Boolean context - debug 0.359
Deep test JSON 1:1 Reply - String, Pair context 0.577
Deep test JSON 1:1 Reply - String, Pair context - debug 0.573
Deep test JSON 1:1 Reply - String, String context - derive context types 0.381
Deep test JSON 1:1 Reply - String, String context - debug - derive context types 0.232
Deep test JSON 1:1 Reply - String, Boolean context - derive context types 0.324
Deep test JSON 1:1 Reply - String, Boolean context - debug - derive context types 0.299
Deep test JSON 1:1 Reply - String, Pair context - derive context types 0.323
Deep test JSON 1:1 Reply - String, Pair context - debug - derive context types 0.34
Deep test struct 1:1 Reply - String, String context 0.54
Deep test struct 1:1 Reply - String, String context - debug 0.389
Deep test struct 1:1 Reply - String, Boolean context 0.361
Deep test struct 1:1 Reply - String, Boolean context - debug 0.405
Deep test struct 1:1 Reply - String, Pair context 0.381
Deep test struct 1:1 Reply - String, Pair context - debug 0.346
Deep test struct 1:1 Reply - String, String context - derive context types 0.293
Deep test struct 1:1 Reply - String, String context - debug - derive context types 0.302
Deep test struct 1:1 Reply - String, Boolean context - derive context types 0.345
Deep test struct 1:1 Reply - String, Boolean context - debug - derive context types 0.28
Deep test struct 1:1 Reply - String, Pair context - derive context types 0.317
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types 0.312
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls 0.429
Deep test struct 1:1 Reply - String, Pair context - debug - derive context types - deep deep with nulls all other types 0.617