[ https://jira.codehaus.org/browse/SUREFIRE-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294489#comment-294489 ]
Gayathri Muralidharan edited comment on SUREFIRE-829 at 3/19/12 3:00 AM: ------------------------------------------------------------------------- Can you please review the patch : https://jira.codehaus.org/secure/attachment/59255/SUREFIRE-829-common-junit48-new.patch Thanks, Gayathri was (Author: muralidh): And similar changes need to be made to maven failsafe plugin as well. Thanks, Gayathri > 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 > Attachments: 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira