You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2011/03/07 22:44:59 UTC

[jira] Commented: (QPID-3125) Add junitreport task for readability in Java unit tests

    [ https://issues.apache.org/jira/browse/QPID-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003629#comment-13003629 ] 

Robbie Gemmell commented on QPID-3125:
--------------------------------------

Have you tried running 'ant report' after running the tests?

Admitedly it isnt module-level as with your patch, but I actually find that preferable since it means you dont need to look in several different places to find the results. The seprate target doesnt force generation of the report files, which is useful if you dont actually want to generate them (I hardly ever do).

> Add junitreport task for readability in Java unit tests
> -------------------------------------------------------
>
>                 Key: QPID-3125
>                 URL: https://issues.apache.org/jira/browse/QPID-3125
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Tests
>    Affects Versions: 0.11
>         Environment: All platforms. Area of functionality is Java based unit tests.
>            Reporter: Weston M. Price
>            Priority: Trivial
>             Fix For: 0.11
>
>         Attachments: module.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Currently when running the unit tests there is no real convenient way to see what has failed and why. The attached patch makes a modification to the module.xml file for the java tests to allow junit to print a report after the testsuite is run to output the results in html format. The results are placed into
> build/results/<module-name>/report/html
> where module name is one of client, common, systests etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org