[rules-users] Guvnor Test Scenario Expectations
AndreaLee
alee369 at gmail.com
Thu Apr 15 17:42:48 EDT 2010
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.
More information about the rules-users
mailing list