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

Philip Harvey edited comment on QPID-3025 at 11/4/12 5:02 AM:
--------------------------------------------------------------

Work-in-progress JUnit4 upgrade, attached to give others early visibility of 
what's involved in this upgrade.

I've not done much sanity-checking of this change yet.

I intend to replace the test filtering logic in QpidTestCase with a Junit 
Runner implementation. This will probably extend the bundled Categories Runner 
and its accompanying Filter implementation to add our properties file-driven 
test exclusion logic. 
                
      was (Author: philharveyonline):
    Work-in-progress JUnit4 upgrade, attached to give others early visibility 
of what's involved in this upgrade.

I've not done much sanity-checking of this change yet.

                  
> Upgrade Java test framework to JUnit 4
> --------------------------------------
>
>                 Key: QPID-3025
>                 URL: https://issues.apache.org/jira/browse/QPID-3025
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Tests
>            Reporter: Andrew Kennedy
>            Assignee: Philip Harvey
>            Priority: Minor
>         Attachments: 0001-QPID-3025-WIP-junit4-upgrade.patch
>
>
> We use JUnit 3.8 currently, and should move to using a more recent version. 
> JUnit 4.4 includes support for annotations and other useful test features 
> that will allow us to control our unit and system tests and test profiles 
> better and easier. This update must still be able to run the existing 3.8 
> tests, and must also preserve the current exclusion mechanism 
> (profile.excludes property) but should also support all JUnit 4 features. 
> This is possible by transferring some functionality from QpidTestCase to a 
> custom JUnit runner class, and annotating QpidTestCase to use this new test 
> runner.
> See also QPID-2639 which updated the QpidTestCase and modified all other test 
> cases to inherit from it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to