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

Make test classes inclusion pattern's default allow for plural

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Maven Surefire Plugin
    • None

    Description

      The current default pattern for the test classes inclusion pattern only allows for classes to start or end with 'Test' or end with 'TestCase'.

      Could we change the default to also include classes that end with 'Tests', that is with an 's' at the end. It's of course quite common to have multiple tests in one class, thus have a FooBarTests class name.

      It's often not noticed by developers who rely on their IDE to run tests. Then they never get run during CI. Thus the 'Important' priority.

      Any reason it's not been included by default ? I couldn't find a previous issue about that topic, apologies if it's come up already.

      Thanks,
      François

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              francoisprunier François Prunier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: