-
Notifications
You must be signed in to change notification settings - Fork 583
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
Support jUnit5 #830
Comments
Powermock 2.0.0 has been released, but is this fixed? |
Seems Powermock 2.x does not have JUnit 5 support. |
I was pointed at this, I'll look into it when I can. |
PowerMock currently doesn't support JUnit 5: powermock/powermock#830.
Any updates regarding junit5 5 support? |
Any update on this? Can you guyz (devs) please share the status?? |
Team, I am in need of this feature very badly |
This is blocking our team from migrating to JUnit 5. Would really like to see this work soon. |
4 years passed . it seem's that JUnit5 team just started discussing about custom classloader feature recently. : P |
You actually can by a little trick and this should work with any JUnit platform based tests, not only Jupiter tests. Believe it or not, but it indeed is the JUnit 5 has a JUnit 4 runner called Leveraging this, this works:
I tested this with Gradle and Spock 2.0-M2 and it works perfectly fine. |
What is the current status of this feature? Thank you. |
Here is my sharing about what I understood about the state of the JUnit 5 support for Powermock:
|
I submitted a PR that adds a JUnit Jupiter extension that works with the existing Java agent without requiring any changes in JUnit in #1146. |
PowerMock contributors / @thekingn0thing / @johanhaleby, Adding this comment to get attention on this PR. Thank you! |
Is it still the case? Any updates? |
Waiting while junit team will implement an extension for specifying class loader junit-team/junit5#201
The text was updated successfully, but these errors were encountered: