Message270416
> I think such omissions are hard to predict and you won't know where is
> the omission until you encounter it. So if you don't know, how do you
> know what to put in the tests?
True.
> And if it is encountered and fixed, such errors should not happen again.
False.
Such errors *will* happen again -- they are called regressions. In order to avoid those we add tests, and those tests serve several purposes:
- confirm the problem has been fixed (not every bug is a core-dump)
- confirm that changes in the future don't reintroduce the bug
- communicate past difficulties and possible gotchas to new developers
In short: add tests; patches are not complete without them. |
|
Date |
User |
Action |
Args |
2016-07-14 15:31:26 | ethan.furman | set | recipients:
+ ethan.furman, brett.cannon, serhiy.storchaka, ztane, xiang.zhang, Decorater |
2016-07-14 15:31:26 | ethan.furman | set | messageid: <1468510286.67.0.33613579118.issue27512@psf.upfronthosting.co.za> |
2016-07-14 15:31:26 | ethan.furman | link | issue27512 messages |
2016-07-14 15:31:26 | ethan.furman | create | |
|