You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/11/09 13:01:47 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPDASHBOARD-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDASHBOARD-17
    Summary: No division by zero when no test in project with junitpassrate.jelly
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dashboard-plugin
   Versions:
             1.6

   Assignee: 
   Reporter: pkernevez

    Created: Tue, 9 Nov 2004 7:01 AM
    Updated: Tue, 9 Nov 2004 7:01 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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


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

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: pkernevez (mailto:pkernevez@octo.com)
       Date: Tue, 9 Nov 2004 7:05 AM
    Comment:
Patch
    Changes:
             Attachment changed to junitratediff.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPDASHBOARD-17?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPDASHBOARD-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDASHBOARD-17
    Summary: No division by zero when no test in project with junitpassrate.jelly
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dashboard-plugin
   Versions:
             1.6

   Assignee: 
   Reporter: pkernevez

    Created: Tue, 9 Nov 2004 7:01 AM
    Updated: Tue, 9 Nov 2004 7:05 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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


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

Posted by "Vincent Massol (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDASHBOARD-17?page=history ]
     
Vincent Massol resolved MPDASHBOARD-17:
---------------------------------------

    Fix Version: 1.8
     Resolution: Fixed
      Assign To: Vincent Massol

Applied. Thanks and sorry for the long time it has taken me to apply it...

> 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
>     Assignee: Vincent Massol
>     Priority: Minor
>      Fix For: 1.8
>  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


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

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Steven Caswell
    Created: Tue, 14 Dec 2004 1:43 PM
       Body:
I ran across the same problem. The reason subproject2 puts in a dash instead of encountering divide by zero is that subproject2 does not have a src/test directory, therefore no TESTS-TestSuites.xml is generated. This means the aggregator logic never tries to look at the number of tests, therefore it never gets to the division.

I created a separate test subproject with an empty src/test that duplicates the situation, along with verifications in maven.xml, to verify this behavior. I can post these patches if you'd like.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPDASHBOARD-17?page=comments#action_28012

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPDASHBOARD-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDASHBOARD-17
    Summary: No division by zero when no test in project with junitpassrate.jelly
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dashboard-plugin
   Versions:
             1.6

   Assignee: 
   Reporter: pkernevez

    Created: Tue, 9 Nov 2004 7:01 AM
    Updated: Tue, 14 Dec 2004 1:43 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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


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

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDASHBOARD-17?page=all ]
     
Arnaud Heritier closed MPDASHBOARD-17:
--------------------------------------


Should be closed for a long long time ago

> 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
>     Assignee: Vincent Massol
>     Priority: Minor
>      Fix For: 1.8
>  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
-
For more information on JIRA, 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


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

Posted by "Kaloyan Enimanev (JIRA)" <ji...@codehaus.org>.
     [ 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


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

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Tue, 9 Nov 2004 7:56 AM
       Body:
Hi Philippe,

Thanks for the patch. However, we already have a test for this and the test is passing for us (the test can be found in CVS, in src/plugin-test/subproject2). As you can see the subproject2 project has not unit tests. The dshboard is correctly generated with a "-" as the junit passrate. Could you have a look and tell us what's different in your case?

Thanks
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPDASHBOARD-17?page=comments#action_26232

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPDASHBOARD-17

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPDASHBOARD-17
    Summary: No division by zero when no test in project with junitpassrate.jelly
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-dashboard-plugin
   Versions:
             1.6

   Assignee: 
   Reporter: pkernevez

    Created: Tue, 9 Nov 2004 7:01 AM
    Updated: Tue, 9 Nov 2004 7:56 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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