On Wed, 14 Aug 2024 at 14:53, Emma Atkinson <emma.atkins...@gmail.com> wrote:
> Debug File works only with the main application, not the tests in the test 
> section (TestNG in my case).

I didn't mention Debug File itself.

> If I select a test file I the Menu changes to Debug Test File (Ctrl Shift 
> F6).  Running that gives the following error:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':app:test'.
> > No tests found for given includes: 
> > [MarkdownImportFilter.MarkdownImporterTDD](--tests filter)

I assume that the package is called MarkdownImportFilter?  Just tested
a basic Gradle project with TestNG.  Package names need to be lower
case.  If not, I can reproduce your issue.  If you rename the package
to markdownimportfilter it should hopefully work.

It appears Gradle doesn't support this.  eg. I found
https://github.com/gradle/gradle/issues/20350  Which while marked
fixed, doesn't seem to mean it's actually fixed!

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

Reply via email to