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

请问现在可以只包含/排除某些包和类么 #24

Open
zlp19860220 opened this issue Dec 23, 2021 · 3 comments
Open

请问现在可以只包含/排除某些包和类么 #24

zlp19860220 opened this issue Dec 23, 2021 · 3 comments

Comments

@zlp19860220
Copy link

就是jacocoant里面的includes和excludes

@xiaoyisss
Copy link
Collaborator

这个在启动被测服务的时候可以自己添加

@sgats
Copy link

sgats commented Sep 30, 2022

这个是在什么地方添加excludes呢?

@ilaotan
Copy link

ilaotan commented Aug 16, 2023

请看https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html 可以通过 -Dtest= 指定多个, 代码中 DiffMethodsCalculator.executeDiffMethods 可以自己格式化出来想要的类名,扔到CoverageReportEntity中给unitTester.executeUnitTest用即可

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

4 participants