Re: [java code coverage] Ant : Jacoco Code Coverage Report is not generating with PowerMocito

2016-09-28 Thread vijay kumar
Thanks for details. I have gone through these documents but i didn't find any unit test files are ran using junit in the ant offline instrumentation example. Also when i ran the below mentioned build.xml (which is from offline instrumentation) it's not working and i am getting the error

Re: [java code coverage] Ant : Jacoco Code Coverage Report is not generating with PowerMocito

2016-09-24 Thread Evgeny Mandrikov
Excuse me, but is it that hard to find and read documentation and apply learned material for your needs? http://www.eclemma.org/jacoco/trunk/doc/offline.html

Re: [java code coverage] Ant : Jacoco Code Coverage Report is not generating with PowerMocito

2016-09-22 Thread vijay kumar
Hi Marc, In another post i can see jacoco supports with powerMock. https://groups.google.com/forum/#!msg/jacoco/t9WwY9_ODnA/VfoWrdPVMMIJ Request you to share me working example which we have with ant. On Thursday, September 22, 2016 at 3:42:49 PM UTC+5:30, vijay kumar wrote: > > Hi, > > > >

Re: [java code coverage] Ant : Jacoco Code Coverage Report is not generating with PowerMocito

2016-09-22 Thread vijay kumar
Hi, Workaround i can see is - Use offline instrumentation before you run your tests. This way classes get instrumented by JaCoCo before any runtime modification can take place. Note that in this case the report has to be

Re: [java code coverage] Ant : Jacoco Code Coverage Report is not generating with PowerMocito

2016-09-21 Thread Marc Hoffmann
Hi, the JaCoCo agent does not work with frameworks like Powermock which modify the classes under test. Please find a detailed discussion and possible workarounds here: http://www.eclemma.org/jacoco/trunk/doc/classids.html Regards, -marc On 2016-09-21 15:13, vijay kumar wrote: Hi, We