PavelTurk opened a new issue, #7099:
URL: https://github.com/apache/netbeans/issues/7099

   ### Apache NetBeans version
   
   Apache NetBeans 21 release candidate
   
   ### What happened
   
   When I do right click on test method and select `Run Focused Test Method` or 
`Debug Focused Test Method` I got message
   `No provide can handle this test method`. At the same time `Test File` and 
`Debug Test File` work without any problems.
   This is a java maven project, test framework is junit 5.10.1. 
   
   ### Language / Project Type / NetBeans Component
   
   Java Maven Project with JPMS
   
   ### How to reproduce
   
   1) Test must also contain module-info with the following content:
   
   ```
   open module HERE_MAIN_MODULE_NAME {
   
       requires org.junit.jupiter.api;
       ....
   }
   ```
   
   2) Create class FooTest
   
   ```
   public class FooTest {
   
       @Test
       public void test() {
           var text = "text";
      }
   }
   ```
   3) Right click inside test() method,  `Run Focused Test Method` or `Debug 
Focused Test Method`.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu 20.04.3 LTS
   
   ### JDK
   
   21.0.1; OpenJDK 64-Bit Server VM 21.0.1+12-29
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   Please fix it, because it is very annoying to comment other tests if only 
one is required.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to