Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-408

add capability to turn on only a specific provider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.7
    • None
    • None

    Description

      It would be nice if you could force the maven surefire plugin to only use a specific provider.

      Currently, it checks if a test extends junit.framework.Test. If it is, it assumes its a junit test case. This is not always the case. It could still be a testng test.

      if (junit.framework.Test.class.isAssignableFrom( c ))

      { junitTestClasses.add( c ); }

      else

      { testNgTestClasses.add( c ); }

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            knaas Keith Naas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: