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

jakob braun updated SUREFIRE-1880:
----------------------------------
    Affects Version/s: 3.0.0-M5

> Run nested junit test from abstract class
> -----------------------------------------
>
>                 Key: SUREFIRE-1880
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1880
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 5.x support
>    Affects Versions: 3.0.0-M3, 3.0.0-M5
>            Reporter: jakob braun
>            Priority: Major
>
>  
> Consider the following Junit5 tests:
> {code:java}
> abstract class AbstractTest{
>   @Nested
>   class NestedTest{
>     @Test
>     void myTest(){
>     }
>   }
> }
> class TestImpl extends AbstractTest{
> }{code}
> I would like to run myTest. It seems however like this is not possible using 
> the failsafe plugin.
> Here is what I tried:
>  * AbstractTest$NestedTest.myTest
>  * TestImpl$NestedTest.myTest
>  * AbstractTest$NestedTest#myTest
>  * TestImpl$NestedTest#myTest
> If I'm doing something wrong I would be glad about some help!
>  



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

Reply via email to