Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2260

Jacoco doesn't show coverage for tests that use PowerMock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Dublin Release
    • None
    • None

      According to official documentation "right now there is NO WAY TO USE PowerMock with JaCoCo On-the-fly instrumentation. And no workaround to get code coverage in IDE"(https://github.com/powermock/powermock/wiki/Code-coverage-with-JaCoCo). The advice is to useĀ  offline Instrumentation.

            kooper kooper
            kooper kooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: