Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-253

Add integration logic that allows report to be created for junit OR testng

    Details

      Description

      I'm currently in the middle of patching/working with testng and the maven-surefire plugin core parts to provide a seamless testng integration point and am on the final task of getting the report to be a little friendlier. This is the jira issue for the surefire portion: http://jira.codehaus.org/browse/MSUREFIRE-23

      I think at the very least I wanted to change the runtime to not try and parse class/package constructs out of the test name attributes, but work in an agnostic manner to just group things as they appear in the xml output. I also intend to embed a very minimal amount of javascript into the generated html page so that report errors/stack traces can have hide/show buttons enabling the detailed viewing of their contents.

      Does this sound reasonable to everyone? I've got the source checked out right now and will be working on this today.

      1. maven-surefire-report-maven-plugin-patch.txt
        39 kB
        Jesse Kuhnert
      2. testngjunit.diff
        3 kB
        Carlos Sanchez

        Issue Links

          Activity

          Hide
          Arik Kfir added a comment -

          the javascript idea sounds great to me

          Show
          Arik Kfir added a comment - the javascript idea sounds great to me
          Hide
          Jesse Kuhnert added a comment -

          This isn't quite done yet, I still need to enable the show / hide links

          Show
          Jesse Kuhnert added a comment - This isn't quite done yet, I still need to enable the show / hide links
          Hide
          Jesse Kuhnert added a comment -

          I added a link to the other JIRA issue containing the rest of the patches anyone will need to get this plugin working/running.

          Show
          Jesse Kuhnert added a comment - I added a link to the other JIRA issue containing the rest of the patches anyone will need to get this plugin working/running.
          Hide
          Allan Ramirez added a comment -

          Jesse, could you attach your patch again. The surefire-report plugin has been moved to maven plugins. Thanks

          Show
          Allan Ramirez added a comment - Jesse, could you attach your patch again. The surefire-report plugin has been moved to maven plugins. Thanks
          Hide
          Jesse Kuhnert added a comment -

          Sure thing, will do it this weekend when I make some other surefire patches.

          Show
          Jesse Kuhnert added a comment - Sure thing, will do it this weekend when I make some other surefire patches.
          Hide
          Allan Ramirez added a comment -

          Hi Jesse, how is the patch?

          Show
          Allan Ramirez added a comment - Hi Jesse, how is the patch?
          Hide
          Carlos Sanchez added a comment -

          Patch for just the packageName -> group change + rename the "packageName" attribute and methods to "group"
          The javascript pacth is in MSUREFIREREP-17

          Show
          Carlos Sanchez added a comment - Patch for just the packageName -> group change + rename the "packageName" attribute and methods to "group" The javascript pacth is in MSUREFIREREP-17
          Hide
          Allan Ramirez added a comment -

          hmm . I think this issue is needed to be patch in MSUREFIRE.

          Show
          Allan Ramirez added a comment - hmm . I think this issue is needed to be patch in MSUREFIRE.
          Hide
          Allan Ramirez added a comment -

          fixed in svn.

          checks if the group attr is present to support testng

          Show
          Allan Ramirez added a comment - fixed in svn. checks if the group attr is present to support testng

            People

            • Assignee:
              Allan Ramirez
              Reporter:
              Jesse Kuhnert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3h Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h

                  Development