Re: [testdrivendevelopment] "bottom-up" TDD and common behaviors

"Avi Kessner" <[email protected]> Mon, 2 Dec 2019 15:18:17 +0200
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <CAGEhWpGwAS4K=-gDxOXzvff8P1ZScL5zNTBnScitfjm015xryw@mail.gmail.com>
--0000000000004b7d130598b86aa8
Content-Type: text/plain; charset="UTF-8"

Best to test to behaviour, not implementation/capability, I think.

brought to you by the letters A, V, and I
and the number 47


On Mon, Dec 2, 2019 at 2:33 PM Ron Jeffries <[email protected]>
wrote:

> 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.
>
> On Dec 2, 2019, at 7:26 AM, Alan Baljeu via Groups.Io <
> [email protected]> wrote:
>
> The way I test if animals have updatable fields, I try to update a field
> and check that it updated.
>
>
>
> Ron Jeffries
> 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
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#35793): https://groups.io/g/testdrivendevelopment/message/35793
Mute This Topic: https://groups.io/mt/64491946/3268755
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/testdrivendevelopment/leave/6156322/744556386/xyzzy  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


--0000000000004b7d130598b86aa8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Best to test to behaviour, not implementation/capability, =
I think.<div><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signatu=
re" data-smartmail=3D"gmail_signature">brought to you by the letters A, V, =
and I<br>and the number 47</div></div><br></div></div><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 2, 2019 at 2:33=
 PM Ron Jeffries &lt;<a href=3D"mailto:[email protected]">ronjeffrie=
[email protected]</a>&gt; 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 style=3D"overflow-wrap: break-word;">I was thinking I&#3=
9;d ask the object if it had updatable fields, but it&#39;d depend on an un=
derstanding of the problem and solution that I don&#39;t presently have.<br=
><div><br><blockquote type=3D"cite"><div>On Dec 2, 2019, at 7:26 AM, Alan B=
aljeu via Groups.Io &lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt; wrote:</div><br=
><div><span style=3D"font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial=
,sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-=
weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-t=
ransform:none;white-space:normal;word-spacing:0px;text-decoration:none;floa=
t:none;display:inline">The way I test if animals have updatable fields, I t=
ry to update a field and check that it updated.</span></div></blockquote></=
div><br><div>
<div style=3D"color:rgb(0,0,0);letter-spacing:normal;text-align:start;text=
-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div s=
tyle=3D"color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent=
:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style=
=3D"border-collapse:separate;color:rgb(0,0,0);font-variant:normal;letter-s=
pacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;te=
xt-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><=
div style=3D"overflow-wrap: break-word;"><span style=3D"border-collapse:sep=
arate;color:rgb(0,0,0);font-variant:normal;letter-spacing:normal;line-heigh=
t:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-=
space:normal;word-spacing:0px;border-spacing:0px"><div><br>Ron Jeffries</di=
v><div><a href=3D"http://ronjeffries.com" target=3D"_blank">ronjeffries.com=
</a></div><div><div><div>If another does not intend offense, it is wrong fo=
r me to seek it;</div><div>if another does indeed intend offense, it is foo=
lish for me to permit it.</div><div>=C2=A0 -- Kelly Easterley</div></div></=
div></span></div></span></div></div>
</div>
<br></div>


<p></p><p></p></blockquote></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/testdrivendevelopment/mes=
sage/35793">View/Reply Online (#35793)</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=3DPri=
vate:%20Re:%20Re%3A%20%5Btestdrivendevelopment%5D%20%22bottom-up%22%20TDD%2=
0and%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>


--0000000000004b7d130598b86aa8--