[rules-users] Code Coverage

Toni Rikkola toni.rikkola at gmail.com
Tue Jan 17 03:51:28 EST 2012


You need to write the coverage tests for JUnit yourself. Test Scenarios in Guvnor do this, but you can't use them outside Guvnor. 

Test Scenarios get all the rule names for the rules in one package and then compares that list to the rules that fired.
Edson's blog entry might help you http://blog.athico.com/2011/10/cookbook-how-to-test-rules-using-xunit.html.

Toni

On Jan 16, 2012, at 5:49 PM, mike wrote:

> Hi there,
> 
> I was wondering if its possible to measure code coverage on test running against a set of rules.
> 
> Thank you
> Mike
>  
> _______________________________________________
> 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/20120117/b76209d3/attachment.html 


More information about the rules-users mailing list