Thank you very much ... as far as i know in order to do code coverage i need to instrument the packages i&#39;m interested in covering ... this recommendation doesn&#39;t take me in that direction<div><br></div><div>It is very useful however in showing a way to test rules individually.</div>
<div><br></div><div>Thank you</div><div>Mike <br></div><br><div class="gmail_quote">2012/1/17 Toni Rikkola <span dir="ltr">&lt;<a href="mailto:toni.rikkola@gmail.com">toni.rikkola@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>You need to write the coverage tests for JUnit yourself. Test Scenarios in Guvnor do this, but you can&#39;t use them outside Guvnor. </div><div><br></div><div>Test Scenarios get all the rule names for the rules in one package and then compares that list to the rules that fired.</div>
<div><div>Edson&#39;s blog entry might help you <a href="http://blog.athico.com/2011/10/cookbook-how-to-test-rules-using-xunit.html" target="_blank">http://blog.athico.com/2011/10/cookbook-how-to-test-rules-using-xunit.html</a>.</div>
<div><div><br></div><div>Toni</div><div><br><div><div><div class="h5"><div>On Jan 16, 2012, at 5:49 PM, mike wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5">Hi there,<div><br></div><div>I was wondering if its possible to measure code coverage on test running against a set of rules.</div>
<div><br></div><div>Thank you</div><div>Mike</div><div> </div></div></div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</blockquote></div><br></div></div></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>