[rules-users] junit tests for drools rules
Esteban Aliverti
esteban.aliverti at gmail.com
Tue Apr 13 09:59:04 EDT 2010
Can you add some code snippet or your test case? It shouldn't be any problem
modifying a Fact inside a rule's action.
2010/4/13 Radhakrishnan Meiappan <rmeiappan at datacert.com>
> 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.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100413/7cb9d22a/attachment.html
More information about the rules-users
mailing list