-
Notifications
You must be signed in to change notification settings - Fork 73
Launch as Junit test not working for junit 5 #653
Comments
@kthoms looks like org.junit.platform.launcher is missing a dependency after project creation with wizard/initial workflow run |
Works for me. Please provide detailed steps to reproduce. What I did:
|
(1) use Photon as target in dev eclipse |
when adding org.junit.platform.launcher;bundle-version="1.1.0" explicit it works fine |
@kthoms Problem happens in oxygen 3a only, not in photon |
What if you remove the dependencies except API and add "JUnit Library" to the build path? |
junit in eclipse no longer ofers to run as test and if i run old config get an error message and after adding
|
wont work with oxygen too
|
Should be solved by #673. The JUnit5 Library container will contains the dependencies for |
Add in your POM:
|
This seems not to work (again?). For a freshly created Xtext project, created with the wizard, I get the following exception on a just added parsing test:
It's not urgent at all. I will switch back to Junit4. ... I just hit the Junit5 readio button at the wizard w/o thinking a lot. My configuration:
|
@ArneDeutsch is this not part of our tests or do they run on oxygen only and no junit 5? |
to me this looks like that jdt does no longer work with older junit5 versions |
e.g. setting
seems to work. |
=> this should also be handled in a different/new issue |
I created a separate issue: #1343 |
Because JUnit5 test support did not work. See eclipse/xtext-eclipse#653 (comment) for details. Seems repository project was newly added as was additionally selected in the wizard.
The text was updated successfully, but these errors were encountered: