Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
10.0
-
None
-
None
Description
JUnit 5 has Nested test. Nested test is inner class with annotation @Nested. There is no posibilities how run nested test (only one method with Run Focused Test Method). Test methods from top level class are running after Test File only.
Example:
class TopLevelTest { @Test void topLevelTest() { System.out.println("topLevelTest"); } @Nested class InnerTest { @Test void inner1Test() { System.out.println("Inner 1"); } @Test void inner2Test() { System.out.println("Inner 2"); } } }
I am not able to run whole InnerTest class.