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

would like to have option to skip the tests when it uses mockito's static mock until pitest support it #1366

Open
jaksonlin opened this issue Nov 28, 2024 · 0 comments

Comments

@jaksonlin
Copy link

jaksonlin commented Nov 28, 2024

for some historical reason, we have a lot of junit test cases that heavily make use of mockstatic (some 40%) in the testcase.
and we cannot evaluate the test case's quality when pitest run encouter test case using mockstatic.

is it possible to enable an option to bypass these test cases and continue to run the mutation test ?

thanks!

@jaksonlin jaksonlin changed the title Can we have option to skip the tests when it uses mockito's static mock until pitest support mockstatic? would like to have option to skip the tests when it uses mockito's static mock until pitest support it Nov 28, 2024
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

1 participant