[ 
https://issues.apache.org/jira/browse/SUREFIRE-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Digana closed SUREFIRE-1199.
----------------------------------
    Resolution: Not A Problem
      Assignee: Tibor Digana  (was: Karl Heinz Marbaise)

The default surefire pattern is
"**/Test*.java", "**/*Test.java", "**/*TestCase.java"
It can be overridden in the "test" parameter.
Therefore FunctionalTests (plural) cannot be called because does not match the 
default pattern.

> mvn test classname issue
> ------------------------
>
>                 Key: SUREFIRE-1199
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1199
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: Ubuntu Linux 14.04 x86_64 / Oracle Java 1.8.0_66 / Junit 
> 4.12
>            Reporter: Martin Goik
>            Assignee: Tibor Digana
>              Labels: junit
>
> 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, ...



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

Reply via email to