stacks-core
stacks-core copied to clipboard
[Mutations Testing] for PR: Feat/nakamoto block push #4877
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