Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否会影响jacoco代码覆盖率 #297

Open
matthewZZC opened this issue Sep 1, 2022 · 1 comment
Open

是否会影响jacoco代码覆盖率 #297

matthewZZC opened this issue Sep 1, 2022 · 1 comment

Comments

@matthewZZC
Copy link

No description provided.

@linfan
Copy link
Collaborator

linfan commented Nov 24, 2022

不会。从原理上来说,Testable只是简单的修改了源码中调用被Mock方法的字节码,将它在运行期改为直接调用相应的Mock方法,不会干扰Jacoco的覆盖率统计。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants