vijayjcp / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 2 forks source link

PowerMock is of no use for code coverage #489

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Write a succesful testcase using PowerMock
2.Run maven command for cobertura report (or Sonar even)
3.Open cobertura report to see if code is covered

What is the expected output? What do you see instead?
Expected is - the code in the report must be shown as covered. But it is 
observed that the code remains uncovered.

What version of the product are you using? On what operating system?
easymock 3.0
powermock-module-junit4 1.4.12
powermock-api-easymock 1.4.12
Windows 7 for Cobertura and Linux for Sonar

Please provide any additional information below.

When the code coverage remains unchanged it is of no use using powermock. Would 
be delighted to see the resolution.

Original issue reported on code.google.com by srika....@gmail.com on 21 Mar 2014 at 7:12

GoogleCodeExporter commented 8 years ago
What version of cobertura are you using?

Original comment by johan.ha...@gmail.com on 26 Mar 2014 at 11:08

GoogleCodeExporter commented 8 years ago
I have the same problem. 
Do we know which versions does get the report if powermock is used ? 

Original comment by chunj...@gmail.com on 26 Aug 2014 at 4:40