maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gudian (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-829) junit | Support inheritance while running test cases belonging to a particular category/group
Date Thu, 06 Jun 2013 19:30:03 GMT

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

Andreas Gudian closed SUREFIRE-829.
-----------------------------------

    Resolution: Fixed

Thanks for your patch!

I've applied it in commit 8980aa5623899d635302a3bede53f0ce8a2081f3. The suggested changes
in FilterFactory had to be rewritten, as the code has changed significantly compared to the
patch reference.
                
> junit | Support inheritance while running test cases belonging to a particular category/group
> ---------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-829
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-829
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.12
>            Reporter: Gayathri Muralidharan
>            Assignee: Andreas Gudian
>             Fix For: 2.15
>
>         Attachments: SUREFIRE-829-common-junit48-20130506.patch, SUREFIRE-829-common-junit48-new.patch,
SUREFIRE-829-common-junit48.patch
>
>
> We have a parent class which is extended by all the unit test cases (multi module maven
based project)
> It would be great if surefire plugin config looks for the category in parent class as
well. This will avoid redundant @Category(UnitTestCategory.class) annotations, as we expect
all unit test cases to extend the corresponding base class and the base class will alone be
annotated with @Category(UnitTestCategory.class)
> Please let me know if this can be achieved by any other config.
> Thanks,
> Gayathri

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message