gitgabrio opened a new issue, #6978:
URL: https://github.com/apache/incubator-kie/issues/6978

   Inside tck test-suite, the DroolsTckTest does not fully manage the case of 
expected failures; i.f., when the test expect to have failures (.e.g.
   
   ```xml
   <resultNode name="error_when_multiply_lhs_dtDuration_by_rhs_boolean" 
type="decision" errorResult="true">
   ```
   
   the 
[code](https://github.com/dmn-tck/tck/blob/b01a742cc1e0bb9bbe33268eee31d12547b18bc8/runners/dmn-tck-runner-drools/src/test/java/org/omg/dmn/tck/runner/drools/DroolsTCKTest.java#L276)
 does not check for the actual presence of errors
   
   ```java
   if (rn.isErrorResult())
               {
                   for (DMNMessage msg : 
dmnResult.getMessages(DMNMessage.Severity.ERROR))
                   {
                       logger.info("TEST CASE is error Result, message reported 
is to be expected: {}", msg);
                   }
               } else
   ```
   
   so, the test could pass even if the engine does not generate errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to