Re: Example: testing multiple softwares with regard to one test case.

After a short discussion with shadi.


Le 6 nov. 2007 à 12:01, Karl Dubost a écrit :
> * testcase-Z  hosted at the uri http://example.org/test1
> * assertor with the name john smith and john@example.org
> * software-A - pass
> * software-B - pass
> * software-C - fail


Let's try with a practical example, so it might be easier to understand.


<rdf:RDF
     xmlns:http="http://www.w3.org/2006/12/http#"
     xmlns:foaf="http://xmlns.com/foaf/0.1/"
     xmlns:earl="http://www.w3.org/ns/earl#"
     xmlns:dct="http://purl.org/dc/terms/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xml:base="http://www.example.org/earl/report#">

<foaf:Person rdf:nodeID="karl">
  <foaf:name>Karl Dubost</foaf:name>
  <foaf:mbox rdf:resource="mailto:karl@w3.org"/>
</foaf:Person>

<earl:TestCase rdf:about="http://www.w3.org/2007/11/aria-svg-test.svg"  
rdf:nodeID="ariatest">
   <dc:title xml:lang="en">aria svg test</dc:title>
   <dc:description xml:lang="en">Test case with a dash aria value </ 
dc:description>
</earl:TestCase>

<!-- first assertion -->
<earl:Assertion>
     <earl:test rdf:resource="#ariatest"/>
     <earl:assertedBy rdf:resource="#karl" />
     <earl:mode rdf:resource="http://www.w3.org/ns/earl#manual"/>
     <earl:TestResult rdf:about="#result1">
         <earl:subject rdf:resource="#webkit"
         <earl:outcome rdf:resource="http://www.w3.org/ns/earl#pass"/>
     </earl:TestResult>
</earl:Assertion>

<!-- second assertion -->
<earl:Assertion>
     <earl:test rdf:resource="#ariatest"/>
     <earl:assertedBy rdf:resource="#karl" />
     <earl:mode rdf:resource="http://www.w3.org/ns/earl#manual"/>
     <earl:TestResult rdf:about="#result2">
         <earl:subject rdf:resource="#gecko"
         <earl:outcome rdf:resource="http://www.w3.org/ns/earl#pass"/>
     </earl:TestResult>
</earl:Assertion>


<earl:Software rdf:nodeID="webkit">
	<dc:title>WebKit</dc:title>
	<dct:hasVersion>5523.10</dct:hasVersion>
        <foaf:homepage rdf:resource="http://webkit.org/"/>
</earl:Software>

<earl:Software rdf:nodeID="gecko">
	<dc:title>Gecko</dc:title>
	<dct:hasVersion>2007050909</dct:hasVersion>
        <foaf:homepage rdf:resource="http://wiki.mozilla.org/Gecko/"/>
</earl:Software>



</rdf:RDF>
>





--
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool

Received on Tuesday, 6 November 2007 20:14:59 UTC