Skip to content
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

Introduce PowerMockExtension for JUnit Jupiter support #1146

Open
wants to merge 1 commit into
base: release/2.x
Choose a base branch
from

Conversation

marcphilipp
Copy link

@marcphilipp marcphilipp commented Feb 4, 2023

This commit adds a new module that includes a JUnit Jupiter extension
implementation that relies on the existing Java agent to transform
classes and implements the same logic as the corresponding
PowerMockRule. More test coverage should be added before releasing this
in earnest but it should work just like the JUnit 4 rule.

Resolves #830.

This commit adds a new module that includes a JUnit Jupiter extension
implementation that relies on the existing Java agent to transform
classes and implements the same logic as the corresponding
PowerMockRule. More test coverage should be added before releasing this
in earnest but it should work just like the JUnit 4 rule.
@jlink
Copy link

jlink commented Feb 4, 2023

I hope the PowerMock community will award you a medal for that!

@patpatpat123
Copy link

Hello powermock team, can you please have a look at this please?

@manojnamodurai
Copy link

@johanhaleby / @thekingn0thing / PowerMock contributors, Kindly have a look into this PR.

@ascheman
Copy link

Great work, thanks @marcphilipp!

Is there any chance to get a new version of PowerMock which integrates this change soon, @johanhaleby / @thekingn0thing ?

@ascheman
Copy link

I was trying to build locally and ran into this problem: spring-propdeps-plugin-no-longer-working

ascheman pushed a commit to ascheman/powermock that referenced this pull request Aug 25, 2023
Due to some Spring repository policy changes the propdeps
Gradle plugin seems not to be available any longer as
release version.

Cf. https://stackoverflow.com/questions/76370197/spring-propdeps-plugin-no-longer-working

Addendum to powermock#1146
@cognitivedesire
Copy link

cognitivedesire commented Dec 8, 2023

Has there been any progress on this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support jUnit5
6 participants