Toni Rikkola created DROOLS-5267:
------------------------------------
Summary: [Test Scenario Editor] Wrong test result status if rules have not
been fired
Key: DROOLS-5267
URL:
https://issues.redhat.com/browse/DROOLS-5267
Project: Drools
Issue Type: Bug
Components: Test Scenarios Editor
Affects Versions: 7.36.0.Final
Reporter: Toni Rikkola
Assignee: Yeser Amer
Defect: If user create a list - typed fact and puts it to the Test Scenario test passes
but coverage is 0.
This feature implemented other way in legacy test scenario.
Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to legacy test scenario - it was automatically
initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least
one element.
In that case if there was no rules fired we need to show a warning and mark the test as
FAILED.
Workaround: put in GIVEN section for the list at least one empty element
--
This message was sent by Atlassian Jira
(v7.13.8#713008)