W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: CfC: WebApps testing process; deadline April 20

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 18 Apr 2011 13:52:31 -0700
Message-ID: <BANLkTimA6sB-TuO0w=Xiui1957Afrh+x1w@mail.gmail.com>
To: Aryeh Gregor <Simetrical+w3c@gmail.com>
Cc: Arthur Barstow <art.barstow@nokia.com>, public-webapps <public-webapps@w3.org>
On 4/18/11, Aryeh Gregor <Simetrical+w3c@gmail.com> wrote:
> On Sun, Apr 17, 2011 at 9:38 PM, Garrett Smith <dhtmlkitchen@gmail.com>
> wrote:
>> The superfluous, badly worded maladvice remains: "Within each test one
>> may have a number of asserts."
>> Awkward wording to explicitly mention that such bad practice is allowed.
> I'll reiterate that I think multiple asserts per test are useful, and
> have seen no substantive arguments to the contrary.  It's true that
> the sentence would be better worded as "Each test can have a number of
> asserts."

A test with 0 assertions could be used to test exceptions but only if
the testing framework provides for "@throws" annotation (my
TestRunner.js does).
Received on Monday, 18 April 2011 20:52:59 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:31 UTC