Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] [tycho-dev] Please test staged Tycho 1.7.0 - !!!new staging repo!!!

Hi all,

Mickael Istria wrote:
> Please continue your careful testing, and don't hesitate to report bugs
> promptly like it was done today. That's quite profitable for everyone!

with the newly staged 1.7.0, I run into a "No tests found" issue for one
of our internal projects. This used to work with a locally built
1.7.0-SNAPSHOT (commit ff9c2031df81c7ce1c3e1696afc85b2849d866d0).

Here are the relevant snippets from pom.xml and MANIFEST.MF. As yu can
see, we try to avoid having JUnit 4 on the Eclipse classpath, limiting
ourselves to JUnit 5 dependencies only.

pom.xml:
  <plugin>
    <groupId>org.eclipse.tycho</groupId>
    <artifactId>tycho-surefire-plugin</artifactId>
    <configuration>
      <!-- Run tests in a minimal Eclipse Platform. -->
      <useUIHarness>true</useUIHarness>
      <dependencies>
        <dependency>
          <artifactId>org.eclipse.platform</artifactId>
          <type>eclipse-feature</type>
        </dependency>
        <!-- Needed to avoid CNFE in Surefire; JUnit 4 is not used by
actual tests -->
        <dependency>
          <artifactId>org.junit</artifactId>
          <type>eclipse-plugin</type>
        </dependency>
      </dependencies>
    </configuration>
  </plugin>

MANIFEST.MF:
  Bundle-RequiredExecutionEnvironment: JavaSE-1.8
  Import-Package: org.assertj.core.api;version="[1.7.0,2.0.0)",
   org.junit.jupiter.api;version="[5.4.0,6.0.0)",
   org.junit.jupiter.api.io;version="[5.4.0,6.0.0)",
   org.junit.jupiter.params;version="[5.4.0,6.0.0)",
   org.junit.jupiter.params.provider;version="[5.4.0,6.0.0)"

Is this enough information to narrow the issue down or should I try to
git bisect?

Best wishes,

Andreas

-- 
Dr. Andreas Sewe | sewe@xxxxxxx | +49 152 56342856
CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top