W3C home > Mailing lists > Public > public-grddl-wg@w3.org > April 2007

Re: Test document draft

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Mon, 30 Apr 2007 17:43:47 +0100
Message-ID: <46361CC3.3020106@hpl.hp.com>
To: "Clark, John" <CLARKJ2@ccf.org>
CC: public-grddl-wg <public-grddl-wg@w3.org>


It is also possible to report earl:notApplicable instead of earl:fail 
for tests that fail but have an alternate passing.

See the Jena earl results which do this.

Jeremy

Clark, John wrote:
>>>> - Two properties were suggested in an earlier John-l patch
>>> [2] to capture (formally) the relationship between alternative test 
>>> outputs:
>>>
>>> How are those properties consumed? Data that isn't consumed rots.
> 
>> I was planning to augment the test harness to be smarter
>> about the reporting of test failure based upon these terms.
> 
> And I went ahead and did it.  The patch (which should be attached to
> this email) makes `testft.py` aware of these terms in the following way.
> If a test fails, but another test passes that is an alternative to the
> first test, then the summary notes this fact.  If the only failing tests
> are tests such that an alternative passed, then the final summary
> message "All tests were passed (or had an alternate test pass)!" is
> displayed.  The EARL results are unchanged; only the descriptive output
> is modified.
> 
> Take care,
> 
>     John L. Clark
> 
> 
> 
> 
> 
> Cleveland Clinic is ranked one of the top 3 hospitals in
> America by U.S.News & World Report. Visit us online at
> http://www.clevelandclinic.org for a complete listing of
> our services, staff and locations.
> 
> 
> Confidentiality Note:  This message is intended for use
> only by the individual or entity to which it is addressed
> and may contain information that is privileged,
> confidential, and exempt from disclosure under applicable
> law.  If the reader of this message is not the intended
> recipient or the employee or agent responsible for
> delivering the message to the intended recipient, you are
> hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited.  If
> you have received this communication in error,  please
> contact the sender immediately and destroy the material in
> its entirety, whether electronic or hard copy.  Thank you.
> 
> 
> ===================================

-- 
Hewlett-Packard Limited
registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
Received on Monday, 30 April 2007 16:44:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:49 GMT