]
Guilherme Gomes updated DROOLS-2015:
------------------------------------
Labels: drools-tools (was: )
Add agenda group config to test scenarios
-----------------------------------------
Key: DROOLS-2015
URL:
https://issues.redhat.com/browse/DROOLS-2015
Project: Drools
Issue Type: Enhancement
Components: Test Scenarios Editor
Affects Versions: 7.0.0.Beta5
Reporter: Jess Evans
Priority: Major
Labels: drools-tools
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.