W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2005

What is a subject of a test?

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Wed, 30 Mar 2005 16:54:23 +0200
Message-ID: <424ABD9F.7040600@fit.fraunhofer.de>
To: public-wai-ert@w3.org

When implementing EARL I asked myself "what is the subject of a test" 
and "how many asertions"?

Example:
HTML test document with two images.
Test: look for alt attributes.
Result: None has alt attribute.

Version 1:
One Assertion, one subject (URL of document), one testCase (alt 
attribute test), one result (fail) with two messages (about each of the 
images, including location information)

Version 2:
Two Assertions, each with same subject (URL of document), same testCase, 
one message each (including location information)

Version 3:
Two Assertions, different subject (URL of document + xpointer of error 
instance), same testCase, one message each

Comments?
-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628
Received on Wednesday, 30 March 2005 14:56:11 GMT

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