0

In my ant build.xml am using cobertra-2.1 jar and asm 5 jar Testng files executed successfully but report is not generating meanwhile instrumented folder also not generating.

Tried with different versions of jars asm-4.1 and asm 5 and cobertura upgraded versions also.

Cœur
  • 37,241
  • 25
  • 195
  • 267
AnilP8
  • 1
  • 1
  • Unless something changed since I last checked, and it would seem it didn't, [cobertura does not work with java 8](https://github.com/cobertura/cobertura/issues/176). You can check out [JaCoCo](http://www.jacoco.org/jacoco/) as an alternative – Morfic Apr 12 '18 at 14:22
  • That depends on your issue. StackOverflow is not a "rent a coder" site, it's just a community of people allocating some of their time to help others. So first you need to try yourself, and then post a question if you're having problems – Morfic Apr 13 '18 at 12:22
  • No actually my client prefering only Cobertura we won't go with JaCoCo – AnilP8 Apr 13 '18 at 12:36
  • Good luck then :) – Morfic Apr 13 '18 at 13:19
  • finally we resolved the issue after we changed asm jar version from 4.1 to 6 , report generated successfully. – AnilP8 Apr 20 '18 at 13:09
  • Cool, does it work with lambdas/method references as well? – Morfic Apr 20 '18 at 13:27
  • for lamdas/method references didn't checked..for us cobertura report is generated fine. – AnilP8 Apr 23 '18 at 10:36

0 Answers0