You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2019/11/20 21:32:00 UTC

[jira] [Updated] (SUREFIRE-1695) Support multiple inheritance of @Categories

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

Tibor Digana updated SUREFIRE-1695:
-----------------------------------
    Fix Version/s: 3.0.0-M5

> Support multiple inheritance of @Categories
> -------------------------------------------
>
>                 Key: SUREFIRE-1695
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1695
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support, Maven Surefire Plugin
>    Affects Versions: 3.0.0-M3
>            Reporter: Yiannis Dermitzakis
>            Assignee: Tibor Digana
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0-M5
>
>   Original Estimate: 0h
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We are using JUnit Categories together with Surefire's <includes>/<excludes> tags in a Test hierarchy. However we have observed some inconsistencies in the resolution.
> Example: 
>  * {{AbstractTest}} is tagged with {{@Category(CategoryB.class)}}
>  * {{TestA extends AbstractTest}} and is tagged with {{@Category(CategoryA.class)}}
>  * When running Surefire with {{<include>CategoryB</include}}>, TestA is not executed.
>  
> There are a few more failure cases, written as (integration/unit) tests. I have provided a PR with a fix.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)