git-imerge icon indicating copy to clipboard operation
git-imerge copied to clipboard

We need a way to test "unexpected failure" and "unexpected success" merges

Open mhagger opened this issue 11 years ago • 0 comments

If the bisection heuristic fails, it can be that an autofill merge fails even though it was expected to succeed. We need a way to test such scenarios systematically. I think the easiest way would be to use an object that can mock a repository (maybe MergeState can be mocked?) and simulate arbitrary successes and failures.

Issue #3 is an example of a problem handling unexpected failures.

mhagger avatar May 14 '13 06:05 mhagger