Android Jack mockito alternative

前端 未结 1 1006
北海茫月
北海茫月 2021-02-07 06:39

Maybe is too soon to ask, but as Jack and Jill was announced today I get very excited with it. I really want to go for it, but they also state:

Various tools tha

1条回答
  •  死守一世寂寞
    2021-02-07 07:36

    Mockito doesn't generate any byte code at compile time and hence is not affected by the used compiler. Same holds true for dexmaker. (they don't have any hooks into Gradle during build)

    So you can simply continue to use Mockito, even with Jack compiler. Note that I have a test project which confirms this.

    0 讨论(0)
提交回复
热议问题