[
https://jira.codehaus.org/browse/SUREFIRE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana closed SUREFIRE-587.
---------------------------------
Resolution: Won't Fix
The workaround works fine {code}mvn test -Dtest=**/*.java{code}
I think it is not a workaround, because the *Test.java pattern differentiates
unit tests anf intergation tests (e.g. *IT.java).
> Doesn't run tests if they don't end with Test
> ---------------------------------------------
>
> Key: SUREFIRE-587
> URL: https://jira.codehaus.org/browse/SUREFIRE-587
> Project: Maven Surefire
> Issue Type: Wish
> Components: JUnit 3.x support, Junit 4.x support
> Affects Versions: 2.4.3
> Environment: N/A
> Reporter: David J. M. Karlsen
>
> We have a mix of test - some purely junit4 (e.g. not extending anything and
> annotating with @Test) - and some which extends TestCase.
> I've discovered that the ones extending TestCase won't run if the classname
> doesn't end with Test - so that the class CommonsAttributesParserTests won't
> get included (notice the ending "s").
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)