Why EclEmma doesn't coverage code with tests with @RunWith(PowerMockRunner.class)
问题 I am using EclEmma with Eclipse to help me to know where is missing code tests in my project, but all tests with @RunWith(PowerMockRunner.class) are not called and thus not tested. I´m using JUnit 4.8.1 with Mockito. What could it be? 回答1: Its a known bug reported for both parties: http://code.google.com/p/powermock/issues/detail?id=402 https://github.com/jacoco/eclemma/issues/15#issuecomment-9565210 eCoberture seems however to provide correct coverage. The only problem, that it seems not to