<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Verifier is not much help if your trying to solve the runtime coverage.</div><div>You can get the rules that fired using an AgendaFilter.</div><div><br></div>ksession.fireAllRules(&nbsp;new AgendaFilter() {<div><span class="Apple-tab-span" style="white-space:pre">                                                </span>public boolean accept(Activation activation) {</div><div><span class="Apple-tab-span" style="white-space:pre">                                                        </span>// Your code here.</div><div><span class="Apple-tab-span" style="white-space:pre">                                                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>}</div><div><br></div><div>Toni</div><div><br></div><div><div>On Jan 21, 2011, at 1:58 PM, Esteban Aliverti wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">You could use Drools-Verifier to check things like Range Validation, Missing equality, Redundancy, etc.<div>Here you have some kind of documentation:&nbsp;<a href="http://community.jboss.org/wiki/DroolsVerifier">http://community.jboss.org/wiki/DroolsVerifier</a>&nbsp;(Toni promised me that he would update it some time ago...)</div>

<div><br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com/" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com/" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Fri, Jan 21, 2011 at 7:43 AM, hyjshanghai <span dir="ltr">&lt;<a href="mailto:hyjshanghai@gmail.com">hyjshanghai@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Yes, this can be the low-level infrastructure to implement the functionality<br>
comparable to that of Cobertura, which I think is not practical for we rule<br>
engine users to do without much effort.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-Analyze-Rule-Test-Coverage-tp2300759p2300943.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-Analyze-Rule-Test-Coverage-tp2300759p2300943.html</a><br>


</font><div class="im">Sent from the Drools - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">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>
</div></div></blockquote></div><br></div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></body></html>