You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "François Prunier (JIRA)" <ji...@apache.org> on 2016/06/23 15:22:16 UTC

[jira] [Created] (SUREFIRE-1258) Make test classes inclusion pattern's default allow for plural

François Prunier created SUREFIRE-1258:
------------------------------------------

             Summary: Make test classes inclusion pattern's default allow for plural
                 Key: SUREFIRE-1258
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1258
             Project: Maven Surefire
          Issue Type: Improvement
          Components: Maven Surefire Plugin
            Reporter: François Prunier


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)