Can you add some code snippet or your test case? It shouldn&#39;t be any problem modifying a Fact inside a rule&#39;s action.<br><br><div class="gmail_quote">2010/4/13 Radhakrishnan Meiappan <span dir="ltr">&lt;<a href="mailto:rmeiappan@datacert.com">rmeiappan@datacert.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">I’m trying to test some rules from a junit test. Inside
the rule the fact is modified. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">The fact is setup so that it matches the then condition in
the rule, but still my asserts are failing in my test. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">How do I get the fact back from the session, after the rules
are fired. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Can someone point me to a link that has samples for testing
a rule from a junit test. Its hard to find. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks</p>

<p class="MsoNormal">RK.</p>

</div>

</div>


<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>