You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Philip Harvey (JIRA)" <ji...@apache.org> on 2012/11/02 12:07:12 UTC
[jira] [Updated] (QPID-3025) Upgrade Java test framework to JUnit 4
[ https://issues.apache.org/jira/browse/QPID-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Harvey updated QPID-3025:
--------------------------------
Attachment: 0001-QPID-3025-WIP-junit4-upgrade.patch
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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org