[Seaside-dev] Minor testing nitpick
renggli at gmail.com
Wed Apr 22 06:46:28 UTC 2009
Aha, ok. Can you give us a list of SUnit selectors that you support?
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.
>> 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
More information about the seaside-dev