Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-2089

Provide ApplicationComposer feature as a JUnit @Rule

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.7.0
    • tests
    • None

    Description

      Currently, ApplicationComposer uses the only one shot we have at specifying which Runner a JUnit test should use.

      This can easily be circumvented by exposing the same functionality through a JUnit @Rule (TestRule).

      By doing this, we could use ApplicationComposer with an other Runner (like Parameterized) and/or other @Rules.

      Attachments

        1. OPENEJB-modules-as-param-no-NPE.patch
          55 kB
          Romain Manni-Bucau
        2. OPENEJB-modules-as-param.patch
          54 kB
          Romain Manni-Bucau
        3. OPENEJB-2089.patch
          9 kB
          Romain Manni-Bucau

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            kalgon Xavier Dury
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: