Hi.
This is the following code that I have in my maven.xml file.

<?xml version="1.0"?>
<project default="build-site">
<goal name="build-site">
<delete dir="target"/>
<attainGoal name="war:war"/>
<attainGoal name="clover:on"/>
<attainGoal name="cactus:test"/>
<attainGoal name="clover:html-report"/>
<attainGoal name="site:generate"/>
</goal>
</project>

In my project.properties file I have the following settings

maven.junit.fork=true

Now from the command prompt I type in "maven build-site" and everything gets executed. When I go to the site generated by Maven, I find that there is a new link called "Clover Test Coverage" under "Project Reports" . When I click on this link, I get directed to the "Clover Coverage Report". On the upper left hand frame, when I click on a package name under "All Packages", a broken link is displayed on the lower left hand frame.
Another problem that I am having is with servlets. The problem is that all the classes that are servlets show a full red bar which is indicating that I don't have any test cases for those servlets, but I actually do have test cases for those servlet, and I even have a generated report on those servlets that have been tested by Cactus under "Unit Test". The classes that are not servlets, are showing me accurate test coverage with a percentage of green bar.

Kindly instruct me where I am going wrong.

Thanks.


It was working in b7. I have no clue for b8 but I would venture it is
currently not working anymore. We'll need to fix that too...

The solution was simply to run the clover plugin before calling the
cactus plugin.

-Vincent


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to