-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run or debug JUnit 5 from secondary class #859
Comments
Java file's name and class name must be the same, otherwise, maven will skip these cases |
So it turns out that this is an Eclipse side bug. It will happen when running a class name which is different from the compilation unit name. I'll reopen it until we fix it in the upstream. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=529722#c1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Ok so here is the solution for those people who cannot run JUnit 5 from the Invisible project(dependency managed in
|
@jdneo Thanks that works! |
Had the same problem, read this rolled back to v0.20.0 and it worked. |
@moinessim Have you tried this solution? |
Hi @jdneo, I tried the following, but had the same error message.
|
Environment:
OS: Windows
JDK: 8/12
Java Extensions:
Steps to reproduce:
MyFastTestIT
andTestTemplateI
in the test explorerResult:
Added by @jdneo
❗️Solution for those people who cannot run JUnit 5 from the Invisible project(dependency managed in lib folder)
The text was updated successfully, but these errors were encountered: