[ https://issues.apache.org/jira/browse/NETBEANS-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Paternesi updated NETBEANS-3720: --------------------------------------- Description: 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" directory 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. Can you please fix it? Thanks was: 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" directory 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. Can you please fix it? Thanks > Run focused test method and Debug focused test method disabled in certain > circumstances > --------------------------------------------------------------------------------------- > > Key: NETBEANS-3720 > URL: https://issues.apache.org/jira/browse/NETBEANS-3720 > Project: NetBeans > Issue Type: Bug > Affects Versions: 11.2 > Environment: Kubuntu linux 19.10 64bit with java 8 64bit latest > version > Reporter: Andrea Paternesi > Priority: Major > > 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" directory 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. > Can you please fix it? > Thanks > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists