I'm still going through Paul Browne's "JBoss
Drools Business Rules" and am using test scenarios now.
What I've noticed is the activation counts displayed on different parts
of the screen don't match. As per the book, I originally had a value for
"sales" that would fire the rule 11 times, then changed the rule
to have "no-loop true". Re-running the test gives the correct
1 activation at the top, but in 2 other places the old 11 count is still
displayed.
I also noticed this behavior when changing the test scenario value of "sales"
- for example, I'd start with a value that would fire 3 times, then change
it to one that would fire 11 times. In the second case, 11 would correctly
show at the top, but 3 would incorrectly display in 2 places lower down. |
|