You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org> on 2008/09/12 12:19:44 UTC

[jira] Created: (QPID-1282) Add test coverage reports

Add test coverage reports
-------------------------

                 Key: QPID-1282
                 URL: https://issues.apache.org/jira/browse/QPID-1282
             Project: Qpid
          Issue Type: Task
          Components: Ant Build System
    Affects Versions: M4
            Reporter: Aidan Skinner
            Assignee: Aidan Skinner
             Fix For: M4


It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (QPID-1282) Add test coverage reports

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack reassigned QPID-1282:
--------------------------------------

    Assignee: Aidan Skinner  (was: Marnie McCormack)

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner reassigned QPID-1282:
-----------------------------------

    Assignee: Marnie McCormack  (was: Aidan Skinner)

Please review this for me! Thanks!

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Marnie McCormack
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1282) Add test coverage reports

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653924#action_12653924 ] 

Marnie McCormack commented on QPID-1282:
----------------------------------------

covertest target detailed in readme doesn't exist afaics.

Tried with cover-test target and output captured below:

$ ant cover-test coverage-report
Buildfile: build.xml
  [taskdef] Could not load definitions from resource tasks.properties. It could
not be found.

cover-test:
  [taskdef] Could not load definitions from resource tasks.properties. It could
not be found.
     [echo] Running ant for module : junit-toolkit

instrument:

BUILD FAILED
c:\qpidtrunk\qpid\java\build.xml:220: The following error occurred while executi
ng this line:
c:\qpidtrunk\qpid\java\build.xml:54: The following error occurred while executin
g this line:
c:\qpidtrunk\qpid\java\module.xml:472: Problem: failed to create task or type co
bertura-instrument
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds


> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Marnie McCormack
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654449#action_12654449 ] 

Aidan Skinner commented on QPID-1282:
-------------------------------------

Looks like you're missing cobertura.jar. Is it in qpid/java/lib/cobertura/ ?

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1282) Add test coverage reports

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack resolved QPID-1282.
------------------------------------

    Resolution: Fixed

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1282) Add test coverage reports

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1282:
-----------------------------------

    Status: Open  (was: Ready To Review)

See comment on test results - couldn't get it working

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Marnie McCormack
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner updated QPID-1282:
--------------------------------

    Issue Type: Bug  (was: Task)

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner reopened QPID-1282:
---------------------------------


> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1282) Add test coverage reports

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656603#action_12656603 ] 

Marnie McCormack commented on QPID-1282:
----------------------------------------

Updated readme to add need to move cobertura jars/lib etc up one dir after install. Aidan fixed some dependency issues with target and now all working fine. Coverage report makes interesting reading.

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648163#action_12648163 ] 

Aidan Skinner commented on QPID-1282:
-------------------------------------

Instructions for downloading and running cobetura are in qpid/java/lib/cobetura/README.txt. Report is generated in build/coverage/index.html



> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Marnie McCormack
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner updated QPID-1282:
--------------------------------

    Status: Ready To Review  (was: In Progress)

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1282) Add test coverage reports

Posted by "Aidan Skinner (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aidan Skinner resolved QPID-1282.
---------------------------------

    Resolution: Fixed

I did done add some cobertura reporting targets and instructions for downloading the jars

> Add test coverage reports
> -------------------------
>
>                 Key: QPID-1282
>                 URL: https://issues.apache.org/jira/browse/QPID-1282
>             Project: Qpid
>          Issue Type: Task
>          Components: Ant Build System
>    Affects Versions: M4
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>             Fix For: M4
>
>
> It is hard to know how much test coverage we have. Cobertura can help us here!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.