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

Surefire plugin fails if JUnit is not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0 (2.2 plugin)
    • 2.3
    • None
    • None

    Description

      The Surefire Plugin fails with the following message, if JUnit is not available on the test classpath:
      [INFO] No Java test frameworks found

      This means, that you have to include JUnit in the classpath, even for projects that do not have any unit-tests (e.g. ressource projects or your first Hello World project).

      Attachments

        1. error.txt
          5 kB
          Simon Kepp Nielsen
        2. no-test-framework-patch.txt
          2 kB
          Mark Holster

        Activity

          People

            kenneyw kenneyw
            kepp Simon Kepp Nielsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: