| ▲ | nixpulvis 4 days ago | ||||||||||||||||||||||||||||
It's not a workaround. In this case it seems like it, but in general you cannot always rely on your existing tests covering everything. The test you run in the bisect is often updated to catch something new which is reported. The process is often: 1. Start with working code 2. Introduce bug 3. Identify bug 4. Write a regression test 5. Bisect with new test In many cases you can skip the bisect because the description of the bug makes it clear where the issue is, but not always. | |||||||||||||||||||||||||||||
| ▲ | Izkata 4 days ago | parent [-] | ||||||||||||||||||||||||||||
Important addendum to 4 that can throw someone their first time - Put the new test in a new file and don't commit it to the repo yet. You don't want it to disappear or conflict with old versions of the test file when bisect checks old commits. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||