Re: [extremeprogramming] What has changed for you over the past 20 years?
"Steve Gordon" <[email protected]> Thu, 5 Dec 2019 06:49:56 -0700
| Newsgroups | gmane.comp.programming.extreme-programming |
|---|---|
| Message-ID | <CAF7qo6Uvc0+f4nPqCto5BuOoyGBrau5jNzH6q=VsK9YVV46NQw@mail.gmail.com> |
--0000000000001adb1a0598f5353e Content-Type: text/plain; charset="UTF-8" On the other hand, I might be missing a magic trick here, so I was asking Slava if he has a way to apply TDD in the context of bug-fixing that I am unaware of. On Thu, Dec 5, 2019 at 6:46 AM Steve Gordon via Groups.Io <sgordonphd= [email protected]> wrote: > There are 3 distinct cases in my mind: > > 1. Trivial bug - it is obvious what we did wrong and we just correct it. > That case might involved fixing a few unit tests, but does not involve TDD. > > 2. What we did was wrong. - Rip out the wrong code and tests and start > over with the right functional test. This involves redoing the development > using TDD, but TDD is no more or less useful that it is for normal > development. > > 3. What we did was right, but we were missing a requirement - formulate a > new user story and implement it. This again involves TDD, but still in the > ordinary way. > > Saying "TDD works great here" implies a non-existent difference with how > TDD works in normal development. > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#160425): https://groups.io/g/extremeprogramming/message/160425 Mute This Topic: https://groups.io/mt/39418691/2417047 Group Owner: [email protected] Unsubscribe: https://groups.io/g/extremeprogramming/leave/4902963/619838065/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=- --0000000000001adb1a0598f5353e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>On the other hand, I might be missing a magic trick h= ere, so I was asking Slava if he has a way to apply TDD in the context of b= ug-fixing that I am unaware of.</div><br><div class=3D"gmail_quote"><div di= r=3D"ltr" class=3D"gmail_attr">On Thu, Dec 5, 2019 at 6:46 AM Steve Gordon = via Groups.Io <sgordonphd=3D<a href=3D"mailto:[email protected]">gmail= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><div dir=3D"ltr"><div>There are 3 distinct cases in my mind:<= /div><div><br></div><div>1. Trivial bug - it is obvious what we did wrong a= nd we just correct it.=C2=A0 That case might involved fixing a few unit tes= ts, but does not involve TDD.</div><div><br></div><div>2. What we did was w= rong. - Rip out the wrong code and tests and start over with the right func= tional test.=C2=A0 This involves redoing the development using TDD, but TDD= is no more or less useful that it is for normal development.</div><div><br= ></div><div>3. What we did was right, but we were missing a requirement - f= ormulate a new user story and implement it.=C2=A0 This again involves TDD, = but still in the ordinary way.</div><div><br></div><div>Saying "TDD wo= rks great here" implies a non-existent difference with how TDD works i= n normal development.</div><div>=C2=A0</div></div> <p></p><p></p></blockquote></div></div> <div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p> You receive all messages sent to this group. <p> <a target=3D"_blank" href=3D"https://groups.io/g/extremeprogramming/messag= e/160425">View/Reply Online (#160425)</a> | <a target=3D"_blank" href=3D"mailto:[email protected]?subject= = =3DRe:%20Re%3A%20%5Bextremeprogramming%5D%20What%20has%20changed%20for%20y= ou%20over%20the%20past%2020%20years%3F">Reply To Group</a> | <a target=3D"_blank" href=3D"mailto:[email protected]?subject=3DP= rivate:%20Re:%20Re%3A%20%5Bextremeprogramming%5D%20What%20has%20changed%20f= or%20you%20over%20the%20past%2020%20years%3F">Reply To Sender</a> | <a target=3D"_blank" href=3D"https://groups.io/mt/39418691/2417047">Mu= te This Topic</a> | <a href=3D"https://groups.io/g/extremeprogramming/post">New Topic</a><br= > <br> <a href=3D"https://groups.io/g/extremeprogramming/editsub/2417047">Your Su= bscription</a> | <a href=3D"mailto:[email protected]">Contact Group Owner<= /a> | <a href=3D"https://groups.io/g/extremeprogramming/leave/4902963/619838065/= xyzzy">Unsubscribe</a> [[email protected]]<br> <div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div> --0000000000001adb1a0598f5353e--