You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jakob braun (Jira)" <ji...@apache.org> on 2021/01/21 08:10:00 UTC
[jira] [Created] (SUREFIRE-1880) Run nested junit test from
abstract class
jakob braun created SUREFIRE-1880:
-------------------------------------
Summary: 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
Reporter: jakob braun
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)