[Seaside-dev] Minor testing nitpick

Paolo Bonzini bonzini at gnu.org
Wed Apr 22 06:27:30 UTC 2009


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.


More information about the seaside-dev mailing list