You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kaloyan Enimanev (JIRA)" <ji...@codehaus.org> on 2005/03/13 15:23:31 UTC

[jira] Commented: (MPDASHBOARD-17) No division by zero when no test in project with junitpassrate.jelly

     [ http://jira.codehaus.org/browse/MPDASHBOARD-17?page=comments#action_30861 ]
     
Kaloyan Enimanev commented on MPDASHBOARD-17:
---------------------------------------------

Hi guys,
 I've ran across the same problem.

 Here is my situation

 I have a test folder, but it containts tests that are NOT JUnit tests. They are some OSGI bundle - tests. So I have declared 'exclude' mask for them in the unitTest tag in the POM file.

 This works perfectly, until I start to use dashboard.
  I have a module that has ONLY OSGI tests - not a single JUnit.
  A 'junit-report.xml' file is created for the module, but the evaluation of the expression for calculation of JUnit percentage does not work because all numbers are zeroes.
  Here is part my junit-report.xml

   <pre>
      <table summary="JUnit result summary">
        <thead>
          <tr>
            <th>Tests</th>
            <th>Errors</th>
            <th>Failures</th>
            <th>Success rate</th>
            <th>Time(s)</th>
          </tr>
        </thead>
        <tr>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>?</td>
          <td>0.00</td>
        </tr>
      </table>

   </pre>


best regards,
  and many many thanks for the wonderful plugin,

Kaloyan

 

> No division by zero when no test in project with junitpassrate.jelly
> --------------------------------------------------------------------
>
>          Key: MPDASHBOARD-17
>          URL: http://jira.codehaus.org/browse/MPDASHBOARD-17
>      Project: maven-dashboard-plugin
>         Type: Bug
>     Versions: 1.6
>     Reporter: pkernevez
>     Priority: Minor
>  Attachments: junitratediff.txt
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org