Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      I know this is a pretty sizable task. I just wanted to get it in the system now that 4.0 has officially been released. Hopefully this will generate some discussion about how 4.0 will be handled - mainly if it will require a completely seperate implemenation of surefire (keeping the same API so it can easily be used by the maven plugin), or if use of 4.0 will be made a configurable option of the current surefire.

      Here's some additional features I'd like to see:
      1. Ability to categorize tests. Unfortunately, 4.0 doesn't include an @Category annotation, or make category a parameter of @Test. However, the filtering mechanism provided by 4.0 is sufficent to support categories given the presense of such an annotation. I recommend putting the @Category annotation in a seperate module (surefire-annotations?) and build support for it into surefire. Hopefully the junit guys could be convinced to incorporate it in a later version.
      2. Similarly, support repeated tests via an @Repeated annotation. I'm not sure how easy this would be to do external to junit.

      1. SUREFIRE31_karl_maven-surefire-plugin.patch
        2 kB
        Karl M. Davis
      2. SUREFIRE31_karl_surefire_surefire-providers_surefire-junit_2ndMethod.patch
        5 kB
        Karl M. Davis
      3. SUREFIRE31_karl_surefire_surefire-providers_surefire-junit.patch
        21 kB
        Karl M. Davis
      4. SUREFIRE-31-maven-surefire-plugin.patch
        1 kB
        Bernd
      5. SUREFIRE-31-surefire-trunk.patch
        14 kB
        Bernd
      6. surefire-junit4.patch
        27 kB
        Tom Huybrechts
      7. surefire-junit4.patch
        24 kB
        Tom Huybrechts
      8. surefire-junit4.zip
        63 kB
        John Didion

        Issue Links

          Activity

          John Didion created issue -
          John Didion made changes -
          Field Original Value New Value
          Attachment surefire-junit4.zip [ 19463 ]
          Brett Porter made changes -
          Workflow jira [ 49231 ] Maven New [ 53883 ]
          Brett Porter made changes -
          Link This issue is depended upon by MSUREFIRE-84 [ MSUREFIRE-84 ]
          Jason van Zyl made changes -
          Assignee Jason van Zyl [ jason ]
          Bernd made changes -
          Attachment SUREFIRE-31-maven-surefire-plugin.patch [ 22216 ]
          Bernd made changes -
          Attachment SUREFIRE-31-surefire-trunk.patch [ 22285 ]
          fabrizio giustina made changes -
          Component/s Junit 4.x support [ 12348 ]
          fabrizio giustina made changes -
          Fix Version/s 2.1 [ 12620 ]
          Karl M. Davis made changes -
          Attachment SUREFIRE31_karl_maven-surefire-plugin.patch [ 23310 ]
          Karl M. Davis made changes -
          Attachment SUREFIRE31_karl_surefire_surefire-providers_surefire-junit.patch [ 23311 ]
          Karl M. Davis made changes -
          Attachment SUREFIRE31_karl_surefire_surefire-providers_surefire-junit_2ndMethod.patch [ 23357 ]
          Tom Huybrechts made changes -
          Attachment surefire-junit4.patch [ 25042 ]
          Tom Huybrechts made changes -
          Attachment surefire-junit4.patch [ 25043 ]
          Jason van Zyl made changes -
          Assignee Jason van Zyl [ jason ]
          Jason van Zyl made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 13:23:32 UTC 2015 [ 1428240212200 ]
          Mark Thomas made changes -
          Workflow jira [ 12727356 ] Default workflow, editable Closed status [ 12758555 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:36:33 UTC 2015 [ 1428284193036 ]
          Mark Thomas made changes -
          Workflow jira [ 12965482 ] Default workflow, editable Closed status [ 13003190 ]
          Mark Thomas made changes -
          Assignee jason lane [ jason ] Jason van Zyl [ jvanzyl ]

            People

            • Assignee:
              Jason van Zyl
              Reporter:
              John Didion
            • Votes:
              75 Vote for this issue
              Watchers:
              46 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development