[rules-users] How to Analyze Rule Test Coverage?
Toni Rikkola
toni.rikkola at gmail.com
Mon Jan 24 01:06:45 EST 2011
Verifier is not much help if your trying to solve the runtime coverage.
You can get the rules that fired using an AgendaFilter.
ksession.fireAllRules( new AgendaFilter() {
public boolean accept(Activation activation) {
// Your code here.
}
}
Toni
On Jan 21, 2011, at 1:58 PM, Esteban Aliverti wrote:
> You could use Drools-Verifier to check things like Range Validation, Missing equality, Redundancy, etc.
> Here you have some kind of documentation: http://community.jboss.org/wiki/DroolsVerifier (Toni promised me that he would update it some time ago...)
>
> Best Regards,
>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>
> Esteban Aliverti
> - Developer @ http://www.plugtree.com
> - Blog @ http://ilesteban.wordpress.com
>
>
> On Fri, Jan 21, 2011 at 7:43 AM, hyjshanghai <hyjshanghai at gmail.com> wrote:
>
> Yes, this can be the low-level infrastructure to implement the functionality
> comparable to that of Cobertura, which I think is not practical for we rule
> engine users to do without much effort.
>
> --
> View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-Analyze-Rule-Test-Coverage-tp2300759p2300943.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110124/7f0ce8fc/attachment.html
More information about the rules-users
mailing list