On Wednesday, July 19, 2017 at 11:01:11 AM UTC-5, Edward K. Ream wrote:

Naturally, this assume that the old and new code are *exactly* equivalent. 
> Unit tests are a start, but I'm not sure they cover all the significant 
> cases.​
>

Actually, I would be shocked if the present unit tests cover all the edge 
cases.  But this is *not* a gotcha.  It simply means that:

1. When there is the *slightest* doubt about the legacy code does, a unit 
test should be created to find out.  
2. All bugs reported against the new code should require a new unit tests 
(or improved existing test) before we can call the bug fixed.

These two principles will ensure that the new code will eventually become 
equivalent to the old.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to