Re: [Mpango-core] Unit tests
Status: Pre-Alpha
Brought to you by:
edvera
From: Marc B. C. <mar...@gm...> - 2011-06-04 01:55:14
|
Seems is not working for me... It does the testings, but dont generate the index.html these are the last lines of mvn site site:run [INFO] >>> cobertura-maven-plugin:2.5.1:cobertura (report:cobertura) @ mpango >>> [INFO] [INFO] --- cobertura-maven-plugin:2.5.1:instrument (report:cobertura) @ mpango --- [INFO] Skipping cobertura mojo for project with packaging type 'pom' [INFO] [INFO] <<< cobertura-maven-plugin:2.5.1:cobertura (report:cobertura) @ mpango <<< *[INFO] Not executing cobertura:report as the cobertura data file (/home/randolph/Workspace/OpenSource/mpango/target/cobertura/cobertura.ser) could not be found* [INFO] plugin org.apache.maven.plugins:maven-project-info-reports-plugin will be executed more than one time [INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.4 [INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin. [INFO] Skipped "Surefire Report" report, file "surefire-report.html" already exists for the English version. [INFO] Skipped "Continuous Integration" report, file "integration.html" already exists for the English version. [INFO] Skipped "Dependencies" report, file "dependencies.html" already exists for the English version. [INFO] Skipped "About" report, file "index.html" already exists for the English version. [INFO] Skipped "Issue Tracking" report, file "issue-tracking.html" already exists for the English version. [INFO] Skipped "Project License" report, file "license.html" already exists for the English version. [INFO] Skipped "Mailing Lists" report, file "mail-lists.html" already exists for the English version. [INFO] Skipped "Project Team" report, file "team-list.html" already exists for the English version. [INFO] Skipped "Source Repository" report, file "source-repository.html" already exists for the English version. [INFO] Starting Jetty on http://localhost:8080/ 260 [main] INFO org.mortbay.log - jetty-6.1.25 *305 [main] INFO org.mortbay.log - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet* 349 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:8080 thanks Marc On Thu, Jun 2, 2011 at 10:34 PM, Eduardo de Vera Toquero <etu...@gm... > wrote: > Hi guys, > > As agreed last week, you would be learning to do Unit Testing and by the > end of the week maybe you have a chance to have implemented some of the > needed unit tests. > > I have added a plugin to the Maven Site generation tool that allows us to > see which classes are being tested and up to which degree. It generates html > based reports than can help you identify classes that need unit testing: > > http://mpango.sourceforge.net/mpango-core/cobertura/index.html > > If you need to generate this reports, you can do so by executing mvn site > site:run and then accessing the web page on > http://localhost/cobertura/index.html > > Feel free to start with those classes that have no unit testing coverage at > all. If you doubt about the functionality of a class, feel free to contact > the author of the class and ask him about the details. > > I hope to see you on this week's Status Meeting on Sunday (same time same > place). > > Regards, > Eduardo de Vera > > > |