in reply to when do you stop writing test?
It's later, when bugs are discovered or new features are needed, that I tend to do the most testing. I'm very big on regression tests: if something changes, show me a test that compares that change to the previous, and coverage tests: if I wrote this block of code, show me a case that either tests it, or tell me why you can't (and consider removing same).
All of these are fairly basic ways to handle things that come up often in testing where I am. What I'd love to find is a way to test for third-party code authors that do stupid things for no reason (such as allocating a buffer every time through a loop, in C code, rather than moving the allocation outside the loop), but I haven't found any good way to write those...
|
|---|