maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (Jira)" <j...@apache.org>
Subject [jira] [Closed] (SUREFIRE-1695) Support multiple inheritance of @Categories
Date Sat, 18 Apr 2020 23:10:00 GMT

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

Tibor Digana closed SUREFIRE-1695.
----------------------------------
    Resolution: Fixed

https://gitbox.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=e5d6e583ecdec87c29a65feac8f56d55553f5c0a

> 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)

Mime
View raw message