Neil

Well blow me!  That fixed the problem.

Solution: *package names must be in lowercase text*

Thank you.
Emma


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

> 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
>

Reply via email to