You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/01/02 15:20:15 UTC

[GitHub] srdo opened a new pull request #1069: NETBEANS-1744: Support Run/Debug Focused Test Method for @Nested JUni…

srdo opened a new pull request #1069: NETBEANS-1744: Support Run/Debug Focused Test Method for @Nested JUni…
URL: https://github.com/apache/incubator-netbeans/pull/1069
 
 
   …t 5 test classes in Maven projects
   
   The reason this doesn't work currently is that Netbeans assumes all test methods are in the top level class in a file. For `@Nested` tests, the tests are in an inner class.
   
   The changes here make Netbeans use the immediately enclosing class instead of the top level class when doing run/debug for Maven projects.
   
   Note that this only fixes run/debug for single test methods. Running `@Nested` classes is broken in Surefire https://github.com/junit-team/junit5/issues/1343. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists