Bug 021: Pointers and Subjects

This is feedback on a Last Call Working Draft:

Evaluation and Report Language (EARL) 1.0 Schema
W3C Working Draft 10 May 2011
http://www.w3.org/TR/2011/WD-EARL10-Schema-20110510/

The documentation for § 3.8. pointer Property is:

—
3.8. pointer Property

Pointer - the location within a test subject that are most relevant to
a test result.

Domain:
earl:TestResult
Range:
ptr:Pointer
—

http://www.w3.org/TR/2011/WD-EARL10-Schema-20110510/#pointer

It's strange that the “location within a test subject” which is most
relevant should then be attached to a test result. Surely this should
be attached to the test subject?

The words “relevant to a test result” cover the mistake. That a bit of
a test subject is most relevant to a test result is just like saying
that the mode of the test is relevant to a test result, or that the
test case is relevant to the test result.

In fact, if you used an earl:TestRequirement in your assertion, you
could start saying that some of the test cases within that compound
test requirement are more important than others—perhaps some check
that critical errors don't occur and others are just ancillary. Then
why shouldn't those test cases be considered "most relevant to a test
result" too?

So change the domain of earl:TestResult to be a restriction on
earl:TestSubject to values from ptr:Pointer, using a restriction in
keeping with the techniques discussed in Bug 009.

-- 
Sean B. Palmer, http://inamidst.com/sbp/

Received on Wednesday, 11 May 2011 15:33:47 UTC