Test expectation language (was Re: [squeak-dev] The Inbox: CollectionsTests-dtl.209.mcz)

Eliot Miranda eliot.miranda at gmail.com
Fri Jan 10 22:39:37 UTC 2014


On Fri, Jan 3, 2014 at 4:14 PM, Colin Putney <colin at wiresong.com> wrote:

>
>
>
> On Fri, Jan 3, 2014 at 3:42 PM, Tobias Pape <Das.Linux at gmx.de> wrote:
>
>> > Would it be blasphemy to have a global or class called It? It should:
>> > $a equal: $b.
>>
>> Strangely, I like it.
>
>
> Why? "It should a equal b" isn't a coherent sentence.
>

So

So should a equal b ;-)


And

Thus

[And so thus is not an endorsement of this idea from me..]


>
> SUnit doesn't try to make everything into an executable specification
> (which is a good thing), but at least "self assert: a equals: b" reads like
> fluent Smalltalk.
>
> Colin
>
>
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140110/f718e58e/attachment.htm


More information about the Squeak-dev mailing list