[jboss-jira] [JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] Wrong test result status if rules have not been fired

Yeser Amer (Jira) issues at jboss.org
Tue Apr 28 09:40:02 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yeser Amer updated DROOLS-5263:
-------------------------------
    Story Points: 3


> [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



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list