I am a newbie in drools and I cannot find any tool for code coverage in .drl files.Not only I want to know which rules are getting fired but also which branch is being taken in the action section.
//sample drl file
rule "name1"
when
condition
then
if(some condition){
//do something
}
else{
//do other thing
}
end
rule "name2"
when
condition
then
if(some condition){
//do something
}
else{
//do other thing
}
end
The branching in action/Then section is necessary in my case.