Unable to get Jacoco to work with Powermockito using offline instrumentation

前端 未结 12 1734
醉梦人生
醉梦人生 2020-12-13 01:56

Given that Jacoco doesn\'t play nicely with PowerMockito when instrumenting \"on the fly\", I\'ve been trying to configure offline instrumentation in the hope this will give

12条回答
  •  一生所求
    2020-12-13 02:52

    I saw the same behavior, though after following the thread on the GitHub issue it seems to be fixed in 1.6.5, which proved true for me.

    Hopefully this will save someone a headache later :).

    Working configuration with:

    • jacoco-maven-plugin 0.7.7.201606060606
    • powermock 1.6.5

    I am not using offline instrumentation.

提交回复
热议问题