]
Michael Anstis moved GUVNOR-2931 to DROOLS-2015:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-2015 (was: GUVNOR-2931)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Issue Type: Enhancement (was: Feature Request)
Component/s: Test Scenarios Editor
(was: Test Scenarios)
Affects Version/s: 7.0.0.Beta5
(was: 7.0.0.Beta5)
Add agenda group config to test scenarios
-----------------------------------------
Key: DROOLS-2015
URL:
https://issues.jboss.org/browse/DROOLS-2015
Project: Drools
Issue Type: Enhancement
Components: Test Scenarios Editor
Affects Versions: 7.0.0.Beta5
Reporter: Jess Evans
I want to test rules within an agenda group. It would be helpful if test scenarios could
preconfigure the agenda group stack. In other words, expose the equivalent of one or more
KieCommands.newAgendaGroupSetFocus invocations to push groups onto the stack as a
precondition (given) of the scenario.
Use of rule flow group, as an attempted workaround, causes the agenda rules to fire as
desired, but the expectations do not match causing the scenario to fail even though the
expected rules were fired and the expected facts asserted.