Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Problem running junit plugin tests with CDT parent pom: No tests found

Hi Jonah,

thank you for your explanation.

I re-configured the surefire-plugin to use its in clude defaults to
<configuration>
   <includes>
    <!-- give me back the surefire defaults! -->
    <include>**/*Test</include>

and my tests get executed!
JUnit3. What kind of culture clash here!

Martin

> The default is defined in root pom: https://git.eclipse.org/r/plugins/gitiles/cdt/org.eclipse.cdt/+/master/pom.xml#886 and by placing a file in the root of the bundle, you can use other pre-canned defaults (eg. UI testing: https://git.eclipse.org/r/plugins/gitiles/cdt/org.eclipse.cdt/+/master/pom.xml#463).
>
> However, if the defaults don't work for you, the pom.xml needs to be written, for example DSF-GDB tests have their own unique settings: https://git.eclipse.org/r/plugins/gitiles/cdt/org.eclipse.cdt/+/master/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml


Back to the top