[jboss-jira] [JBoss JIRA] (DROOLS-1820) Renaming a rule should update related test scenarios
Michael Anstis (JIRA)
issues at jboss.org
Fri Oct 27 04:35:11 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Anstis moved GUVNOR-2060 to DROOLS-1820:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1820 (was: GUVNOR-2060)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Decision Table Editor
Guided Rule Editor
Guided Template Editor
Impact Analysis
(was: Guided Decision Table)
(was: Guided Rule Editor)
(was: Guided Rule Templates)
(was: Impact Analysis)
Affects Version/s: 5.5.0.Final
(was: drools-5.3.0.Final)
> Renaming a rule should update related test scenarios
> ----------------------------------------------------
>
> Key: DROOLS-1820
> URL: https://issues.jboss.org/browse/DROOLS-1820
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Decision Table Editor, Guided Rule Editor, Guided Template Editor, Impact Analysis
> Affects Versions: 5.5.0.Final
> Environment: JBoss BRMS 5.3.1 - Jboss EAP 6.1.1
> Reporter: Valentijn Scholten
> Labels: renaming, testscenario, user_experience
>
> Current behaviour:
> - Create a rule with name "test-rule".
> - Create a test scenario with an expect clause "test-rule" should fire at least once.
> - Populate the test scenario and test-rule in such a way that the test scenario runs succesfully with this expect clause.
> - Rename the rule from "test-rule" to "test-rule-renamed".
> - Run the test scenario again.
> - Observe the test scenario will fail because it expects a rule with name "test-rule" to be fired at least once. This rule no longer exists because it is renamed.
> Expected behaviour:
> - When the rule is renamed from "test-rule" to "test-rule-renamed", all test scenarios referring to this rule (in an expect clause or otherwise) should be updated transparently.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list