Hello,
There is a choice button that says "allows these rules to fire" and you give a list of rules => It will load only these rules in the session
there is no way to tell : "fail if other rules then the one specified is fired"
You should fill a jira for these functionnality
Nicolas

2010/4/15 AndreaLee <alee369@gmail.com>

I am evaluating Drools 5 and Guvnor for a project and have a question
regarding Test Scenarios created in Guvnor.

Is it possible to configure a Test Scenario in Guvnor to fail if a rule that
is not explicitly expected is fired? I can not find a way of achieving this
without creating another expectation that specifies Rule X is not fired.

Example:

I have rules Rule A, Rule B, Rule C.

I have a Test Scenario which has the following expectation: Expect Rule A to
fire once.

I want this Test Scenario to fail if any other rule in addition to Rule A is
fired without having to specify the following additional expectations:
Expect Rule B to not fire, Expect Rule C to not fire.


--
View this message in context: http://n3.nabble.com/Guvnor-Test-Scenario-Expectations-tp722429p722429.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users