You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian G (JIRA)" <ji...@codehaus.org> on 2011/12/23 02:58:03 UTC
[jira] (SUREFIRE-587) Doesn't run tests if they don't end with Test
[ https://jira.codehaus.org/browse/SUREFIRE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286714#comment-286714 ]
Christian G commented on SUREFIRE-587:
--------------------------------------
Nearly one year has been passed after the last comment. Are there any plans to implement this feature?
If not, the workaround above is ok. But it has to be: {noformat}<include>**/*.class</include>{noformat}
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira