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

mvn test classname issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • Ubuntu Linux 14.04 x86_64 / Oracle Java 1.8.0_66 / Junit 4.12

    Description

      Complete source code available at https://cloud.mi.hdm-stuttgart.de/owncloud/index.php/s/6dTJHyjm5y1yVGY.

      Project contains two test classes "FunctionalTests" (plural) and "FunctionalTest" (singular). Test methods within the latter get executed, those from the first class won't:

      mvn test
      ...
      Tests run: 1, ...

      Merely renaming class FunctionalTests to e.g. "MyTestClass" solves the issue resulting in:

      Tests run: 2, ...

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            goik Martin Goik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: