Neil
I have. No they don't.

Debug File works only with the main application, not the tests in the test
section (TestNG in my case).
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)

Basically, I would like to run the Test (Alt F6) and have the debug stop at
breakpoints etc.  Just not sure how to do that.
Emma


On Wed, 14 Aug 2024 at 14:40, Neil C Smith <neilcsm...@apache.org> wrote:

> On Wed, 14 Aug 2024 at 14:27, Emma Atkinson <emma.atkins...@gmail.com>
> wrote:
> >
> > Hi
> > I would like to be able to use the debugger while running a TestNG test
> suite.
> >
> > To run the TestNG Test Suite I select the project then using the Right
> Mouse Button >> Test (Alt F6).
> >
> > I would like to run the debugger, setting breakpoints etc.  I have tried
> a number of ways without joy.
> >
> > How might I use the NetBeans debugger with Tests?
>
> Have you tried the main Debug menu?  Or right-clicking on the test
> file in the file view or editor?  Either should show Debug Test File.
> Does that allow you to do what you want?
>
> Best wishes,
>
> Neil
>

Reply via email to