You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "patton73 (via GitHub)" <gi...@apache.org> on 2023/04/27 09:52:23 UTC
[GitHub] [netbeans] patton73 opened a new issue, #5892: Run focused test method and Debug focused test method disabled in certain circumstances
patton73 opened a new issue, #5892:
URL: https://github.com/apache/netbeans/issues/5892
### Apache NetBeans version
Apache NetBeans 17
### What happened
If you have a gradle project where the "main" source directory is not present but there is only the "test" source directory then you cannot launch a test using Run focused test method and Debug focused test method because Netbeans simply disables them.
If you create the "main/java" directories with a simple readme file inside then Netbeans enables again these two options.
This is a bug to me. You can have a project with no main sources but test sources.
The example is to have a battery of end-to-end tests that simply calls rest API.
Thanks
### How to reproduce
Just remove src/main directory.
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Linux Kubuntu 22.04
### JDK
openjdk 17
### Apache NetBeans packaging
Apache NetBeans provided installer, Apache NetBeans binary zip
### Anything else
Already posted on Jira https://issues.apache.org/jira/browse/NETBEANS-3720
### 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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
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