Thank you very much ... as far as i know in order to do code coverage i
need to instrument the packages i'm interested in covering ... this
recommendation doesn't take me in that direction
It is very useful however in showing a way to test rules individually.
Thank you
Mike
2012/1/17 Toni Rikkola <toni.rikkola(a)gmail.com>
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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users