Matteo Mortari created DROOLS-5660:
--------------------------------------
Summary: DMN code maint. avoid unnecessary cart.prod. test matrix
Key: DROOLS-5660
URL:
https://issues.redhat.com/browse/DROOLS-5660
Project: Drools
Issue Type: Task
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
During [DROOLS-3238] an abstract base test class was introduced in order to test DMN model
in a KJAR containing also Drools Model file for Canonical model / executable model.
The abstract base test class {{BaseInterpretedVsCompiledTestCanonicalKieModule}} was
introduced with a first PR:
https://github.com/kiegroup/drools/pull/2141/files#diff-08550863868c89e6f...
However as noted in the second PR related to [DROOLS-3238],
bq. Please note that these tests don't actually verify the correct behaviour of the
compiled DRL files, but they only verify the DMN model.
ref:
https://github.com/kiegroup/drools/pull/2460#issue-298982811
This inadvertently later resulted in a cartesian product matrix configuration inflation,
while a single specific test would have sufficed: most of the tests which has been
extended with BaseInterpretedVsCompiledTestCanonicalKieModule actually test behaviour of
KieContainer on kie-server normally produced by WB/BC artifacts, which not being
maven-based hardly can replicate a Canonical model / executable model artifact.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)