Does Tycho 3.0.1 supports JUnit 5.9 ? #1924
-
Hello, I am trying to use JUnit 5.9.1 with Tycho 3.0.1, and I ran into this exception when running a test (which work in Eclipse):
The method My META-INF was changed to reference the new OSGI bundles (I omitted some part):
In reading other issues mentioning JUnit 5.9, I have come to understand that JUnit 5.9 was more or less being supported here with Tycho 3.0.1 (https://github.com/eclipse-tycho/tycho/issues?q=is%3Aissue+junit+5.9). But: (1) I've made a quick scan of jar containing the $M2_REPO/org/eclipse/tycho/org.eclipse.tycho.surefire.junit58withvintage/3.0.1/org.eclipse.tycho.surefire.junit58withvintage-3.0.1.jar (2) I can see that in master branch there is a junit59withvintage but it is targeted for a potential 4.0.0-SNAPSHOT. (3) If I stick to the old OSGI bundle name, I can see in the dependency collection (using mvn -X) that Tycho is selecting JUnit 5.8.2 Is there some additional task to perform to use JUnit 5.9.1 with Tycho 3.0.1 ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't think Tycho 3.0.1 entirely support JUnit 5.9; it may support some subset but there is dedicated runner configured for it. |
Beta Was this translation helpful? Give feedback.
-
You probably experienced this bug #1943. Upgrading to Tycho 3.0.3 fixes it. |
Beta Was this translation helpful? Give feedback.
You probably experienced this bug #1943. Upgrading to Tycho 3.0.3 fixes it.