-
Notifications
You must be signed in to change notification settings - Fork 51
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
Overridden test method: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException #541
Labels
bug
Something isn't working
Comments
danthe1st
changed the title
JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
@Disabled with native tests: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
Nov 24, 2023
I am reporting this here since |
danthe1st
changed the title
@Disabled with native tests: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
Overridden test: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
Nov 25, 2023
danthe1st
changed the title
Overridden test: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
Overridden test method: JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException
Nov 25, 2023
@dnestoro Is there a chance at getting this triaged? |
Possibly fixed by #565 although I have not checked. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before reporting
Describe the bug
When overriding an
@Test
method and without marking the overridden method with@Test
, compilation of the test fails withError: Feature defined by org.graalvm.junit.platform.JUnitPlatformFeature unexpectedly failed with a(n) org.junit.platform.commons.JUnitException. Please report this problem to the authors of org.graalvm.junit.platform.JUnitPlatformFeature.
.To Reproduce
@Test
method@Test
mvn test
See this minimal reproducer (CI log here)
Expected behavior
Native compilation of tests succeed and the tests run successfully.
Logs
Full logs here
System Info (please complete the following information):
Linux
graalvm-community-jdk-21.0.1_linux-x64_bin
21
native-maven-plugin:0.9.28
Additional context
Full reproducer here
The text was updated successfully, but these errors were encountered: