-
Notifications
You must be signed in to change notification settings - Fork 677
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
[Mutations Testing] for PR: Feat/nakamoto block push #4877 #4881
Comments
Timeout MutantsThese are the initial timed out mutants as each of the workflow jobs stopped after 360 minutes. Probably after skipping these, some new functions would be highlighted.
|
Missed MutantsThese are the initial missed out mutants as each of the workflow jobs stopped after 360 minutes. They highlight these functions have cases not tested. Probably after skipping the timeouts mutants, other mutants would appear as missed/timeout/unviable.
|
Thanks for gathering these all together. I'll annotate these functions in a follow-on PR. From a cursory read, I think most if not all of these can be skipped since they pertain to best-effort replication protocols which are not guaranteed to succeed in the first place. |
Is your feature request related to a problem? Please describe.
Mutations Testing works by modifying the body of the function to a default return.
eg. if i have a sum function which returns int -> the mutant would replace it with return 0
The problem with http request/response functions is that they are waiting for that request/response, but it was erased from the function as it only contains the return value. So the mutant tries to run the unit tests and timeouts.
Describe the solution you'd like
These functions cannot be tested with mutants so best approach is to skip them by using skip-headers for functions or files.
Resources
The text was updated successfully, but these errors were encountered: