Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3025

Upgrade Java test framework to JUnit 4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Java Tests
    • None

    Description

      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.

      Attachments

        Activity

          People

            philharveyonline Phil Harvey
            andrew.kennedy Andrew Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: