it looks that Infinitest JUnit runner ingore suite method
Reported by Vladimír Oraný | October 10th, 2010 @ 10:19 AM
I have a pair of JUnit3 tests using PowerMock custom suite to mock static methods on final class according to this blog post:
http://kirkgsworld.blogspot.com/2010/04/powermock-mocking-statics-s...
When I run the tests using build in Eclipse JUnit runner,
everything works fine.
But Infinitest shows an error on the line which mocks the static
class:
- IllegalArgumentException (Cannot subclass final class class XYZ)
which can only be happen when the PowerMock wasn't able to instrument the classes properly.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Continuous Test Runner for Java