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

Not able to make PowerMock work in a junit plugin test #402

Open
johanhaleby opened this issue Jul 24, 2015 · 4 comments
Open

Not able to make PowerMock work in a junit plugin test #402

johanhaleby opened this issue Jul 24, 2015 · 4 comments

Comments

@johanhaleby
Copy link
Collaborator

From vijetha2...@gmail.com on April 20, 2012 13:32:55

What steps will reproduce the problem? 1. Create a fragment plugin (test plugin)for a plugin project on Eclipse.
2. Mock a static class.
3. Run the test as a JUnit Plugin Test What is the expected output? What do you see instead? Expected to mock the static method.
Instead, "java.lang.Exception: No runnable methods" exception is got What version of the product are you using? On what operating system? powermock-mockito-junit-1.4.12; Windows 7. Please provide any additional information below. The test runs perfectly well with the same lines of code when run as a normal JUnit test.

Original issue: http://code.google.com/p/powermock/issues/detail?id=382

@johanhaleby
Copy link
Collaborator Author

From Kidder1...@googlemail.com on August 30, 2012 07:15:17

Any updates on this bug? This is a real blocker for me.

@johanhaleby
Copy link
Collaborator Author

From johan.ha...@gmail.com on August 30, 2012 11:05:14

Sorry, no updates. Please help out by investigating why this happens.

@katy246
Copy link

katy246 commented Jun 23, 2020

Is this still an issue?

@pavanbhosle
Copy link

yes i still see this issue.. plz help if anybody found a solution for this

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

No branches or pull requests

3 participants