[rules-users] junit tests for drools rules
Radhakrishnan Meiappan
rmeiappan at datacert.com
Tue Apr 13 09:03:41 EDT 2010
I'm trying to test some rules from a junit test. Inside the rule the
fact is modified.
The fact is setup so that it matches the then condition in the rule, but
still my asserts are failing in my test.
How do I get the fact back from the session, after the rules are fired.
Can someone point me to a link that has samples for testing a rule from
a junit test. Its hard to find.
Thanks
RK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100413/ca8f85bb/attachment.html
More information about the rules-users
mailing list