We have found that diffs on their own are not useful in large packages - file A changing will often break logic in file B. We do not therefore want to use diffs to select which files/lines to mutate.
However, diffs are still very useful in large workspaces to detect which packages to mutate. A single PR might only touch 5 packages out of 50, which is considerable time savings.
It is therefore desirable to have a mode of operation where cargo-mutants only looks at the diff to identify the packages in the workspace that need to be mutated, but ignores the actual files/lines.
Today we solve this with a custom wrapper script but this feels like a generally useful feature that could be natively supported by cargo-mutants.
We have found that diffs on their own are not useful in large packages - file A changing will often break logic in file B. We do not therefore want to use diffs to select which files/lines to mutate.
However, diffs are still very useful in large workspaces to detect which packages to mutate. A single PR might only touch 5 packages out of 50, which is considerable time savings.
It is therefore desirable to have a mode of operation where cargo-mutants only looks at the diff to identify the packages in the workspace that need to be mutated, but ignores the actual files/lines.
Today we solve this with a custom wrapper script but this feels like a generally useful feature that could be natively supported by cargo-mutants.