|
|
|
|
|
by jackweirdy
2402 days ago
|
|
A tip I learned is to commit the failing test but mark it as an expected failure, if your test framework supports that. That way you can commit the test, bisect works, and the test begins "failing" when the bug is really fixed, and you can commit the fix as well as a one-line change to amend the test from being failure-expected to just a normal test. |
|
Obviously if you view tests differently (eg. as a declaration of current behavior rather than intended behavior) then my argument dies.