Re: [testdrivendevelopment] "bottom-up" TDD and common behaviors
"Ron Jeffries" <[email protected]> Mon, 2 Dec 2019 07:33:36 -0500
| Newsgroups | gmane.comp.programming.test-driven-development |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_9661EB7E-D082-45B9-8267-99CE2262479B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I was thinking I'd ask the object if it had updatable fields, but it'd depe= nd on an understanding of the problem and solution that I don't presently h= ave. > On Dec 2, 2019, at 7:26 AM, Alan Baljeu via Groups.Io <alanbaljeu=3Dyaho= [email protected]> wrote: >=20 > The way I test if animals have updatable fields, I try to update a field= and check that it updated. Ron Jeffries ronjeffries.com <http://ronjeffries.com/> If another does not intend offense, it is wrong for me to seek it; if another does indeed intend offense, it is foolish for me to permit it. -- Kelly Easterley -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#35792): https://groups.io/g/testdrivendevelopment/mess= age/35792 Mute This Topic: https://groups.io/mt/64491946/3268755 Group Owner: [email protected] Unsubscribe: https://groups.io/g/testdrivendevelopment/leave/6156322/74455= 6386/xyzzy [[email protected]] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --Apple-Mail=_9661EB7E-D082-45B9-8267-99CE2262479B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= = =3Dus-ascii"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mod= e: space; line-break: after-white-space;" class=3D"">I was thinking I'd ask= the object if it had updatable fields, but it'd depend on an understanding= of the problem and solution that I don't presently have.<br class=3D""><di= v><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On De= c 2, 2019, at 7:26 AM, Alan Baljeu via Groups.Io <<a href=3D"mailto:alan= [email protected]" class=3D"">[email protected]</= a>> wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D"">= <span style=3D"caret-color: rgb(0, 0, 0); font-family: "Helvetica Neue= ", Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; = font-variant-caps: normal; font-weight: normal; letter-spacing: normal; tex= t-align: start; text-indent: 0px; text-transform: none; white-space: normal= ; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;= float: none; display: inline !important;" class=3D"">The way I test if ani= mals have updatable fields, I try to update a field and check that it updat= ed.</span></div></blockquote></div><br class=3D""><div class=3D""> <div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; = text-align: start; text-indent: 0px; text-transform: none; white-space: nor= mal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-= wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white= -space;" class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: norm= al; orphans: auto; text-align: start; text-indent: 0px; text-transform: non= e; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-strok= e-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line= -break: after-white-space;" class=3D""><span class=3D"Apple-style-span" sty= le=3D"border-collapse: separate; color: rgb(0, 0, 0); font-variant: normal;= letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webk= it-auto; text-indent: 0px; text-transform: none; white-space: normal; widow= s: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-e= ffect: none; -webkit-text-stroke-width: 0px;"><div style=3D"word-wrap: brea= k-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" c= lass=3D""><span class=3D"Apple-style-span" style=3D"border-collapse: separa= te; color: rgb(0, 0, 0); font-variant: normal; letter-spacing: normal; line= -height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; te= xt-transform: none; white-space: normal; widows: 2; word-spacing: 0px; bord= er-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-str= oke-width: 0px;"><div class=3D""><br class=3D"Apple-interchange-newline">Ro= n Jeffries</div><div class=3D""><a href=3D"http://ronjeffries.com" class=3D= "">ronjeffries.com</a></div><div class=3D""><div class=3D""><div class=3D""= >If another does not intend offense, it is wrong for me to seek it;</div><d= iv class=3D"">if another does indeed intend offense, it is foolish for me t= o permit it.</div><div class=3D""> -- Kelly Easterley</div></div></di= v></span></div></span></div></div> </div> <br class=3D""></body></html> <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/testdrivendevelopment/mes= sage/35792">View/Reply Online (#35792)</a> | <a target=3D"_blank" href=3D"mailto:[email protected]?subj= ect=3DRe:%20Re%3A%20%5Btestdrivendevelopment%5D%20%22bottom-up%22%20TDD%20a= nd%20common%20behaviors">Reply To Group</a> | <a target=3D"_blank" href=3D"mailto:[email protected]?subject= = =3DPrivate:%20Re:%20Re%3A%20%5Btestdrivendevelopment%5D%20%22bottom-up%22%= 20TDD%20and%20common%20behaviors">Reply To Sender</a> | <a target=3D"_blank" href=3D"https://groups.io/mt/64491946/3268755">Mu= te This Topic</a> | <a href=3D"https://groups.io/g/testdrivendevelopment/post">New Topic</a>= <br> <br> <a href=3D"https://groups.io/g/testdrivendevelopment/editsub/3268755">Your= Subscription</a> | <a href=3D"mailto:[email protected]">Contact Group Own= er</a> | <a href=3D"https://groups.io/g/testdrivendevelopment/leave/6156322/7445563= 86/xyzzy">Unsubscribe</a> [[email protected]]<br> <div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div> --Apple-Mail=_9661EB7E-D082-45B9-8267-99CE2262479B--