[Seaside-dev] Minor testing nitpick

Lukas Renggli renggli at gmail.com
Wed Apr 22 06:51:05 UTC 2009


Name: Seaside-Tests-Platform-lr.73
Author: lr
Time: 22 April 2009, 8:49:49 am
UUID: bbe5191f-28cf-4bd7-8249-88098970f2fc
Ancestors: Seaside-Tests-Platform-pmm.72

- should:raise:description: -> should:raise:

Name: Seaside-Tests-Core-lr.124
Author: lr
Time: 22 April 2009, 8:49:31 am
UUID: 56e8a1b9-3174-48a0-b0b9-48d32d252ebb
Ancestors: Seaside-Tests-Core-lr.123

- should:raise:description: -> should:raise:

On Wed, Apr 22, 2009 at 8:46 AM, Lukas Renggli <renggli at gmail.com> wrote:
> Aha, ok. Can you give us a list of SUnit selectors that you support?
>
> Cheers,
> Lukas
>
> On Wed, Apr 22, 2009 at 8:27 AM, Paolo Bonzini <bonzini at gnu.org> wrote:
>> Lukas Renggli wrote:
>>> There are 4 senders. How should we then test that the right exception
>>> is thrown? In-lining that call?
>>
>> I believe Michael meant that you should use #should:raise: instead,
>> dropping the description alone.
>>
>> Paolo
>>
>>> On Wed, Apr 22, 2009 at 3:23 AM, Michael Lucas-Smith
>>> <mlucas-smith at cincom.com> wrote:
>>>> In WAPlatformObjectTest>>testError, the testing protocol
>>>> #should:raise:description: is used.
>>>> The *description: variants added to later SUnits were never added to
>>>> SUnitToo because its author (Travis Griggs) hated them.
>>>> Are they widely used in the Seaside tests? if not, I'd recommend not using
>>>> them for consistencies sake.
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list