I have a
struts 1.2
Java project and I'm using
StrutsTestCase for
unit testing action classes. Also I have configured Emma for coverage. However I'm getting almost 0% coverage for action classes always.
Is that because, when using
StrutsTestCase we call action classes using
and we do not call the action method explicitly? (i.e. actionObj.actionMethod();)
If so how can I configure Emma to get the actual coverage with
StrutsTestCase. Or is there any other workaround? Please help.