]
Yeser Amer updated DROOLS-5263:
-------------------------------
Sprint: 2020 Week 16-18 (from Apr 13)
[Test Scenario Editor] Wrong test result status if rules have not
been fired
-----------------------------------------------------------------------------
Key: DROOLS-5263
URL:
https://issues.redhat.com/browse/DROOLS-5263
Project: Drools
Issue Type: Bug
Components: Test Scenarios Editor
Affects Versions: 7.36.0.Final
Reporter: Anna Dupliak
Assignee: Yeser Amer
Priority: Major
Labels: drools-tools
Attachments: MySpace_List.zip, Screenshot from 2020-04-21 17-28-31.png,
screenshot-1.png
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