-
Notifications
You must be signed in to change notification settings - Fork 40
EARL results
rjmartell edited this page Sep 30, 2015
·
26 revisions
The listing shown below uses the RDF/XML syntax.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:earl="http://www.w3.org/ns/earl#"
xmlns:http="http://www.w3.org/2011/http#"
xmlns:ptr="http://www.w3.org/2009/pointers#"
xmlns:dc="http://purl.org/dc/terms/">
<earl:Software rdf:about="http://tes.example.org/">
<dc:title xml:lang="en">TES</dc:title>
<dc:description xml:lang="en">A test execution service that runs conformance test suites.
</dc:description>
</earl:Software>
<earl:TestRequirement rdf:about="http://www.opengis.net/spec/KML/2.3/conf/level-1">
<dc:title xml:lang="en">KML 2.3 - Conformance Level 1</dc:title>
<dc:description xml:lang="en">Conformance Level 1 includes test cases that address absolute
requirements. A KML document must satisfy all assertions at this level to achieve minimal
conformance.</dc:description>
<dc:isPartOf rdf:resource="http://docs.opengeospatial.org/ts/14-068r2/14-068r2.html"/>
</earl:TestRequirement>
<earl:Assertion rdf:ID="assert-atc-101">
<earl:subject rdf:resource="http://www.example.org/placemark1.kml"/>
<earl:assertedBy rdf:resource="http://tes.example.org/"/>
<earl:mode rdf:resource="http://www.w3.org/ns/earl#automatic"/>
<earl:test>
<earl:TestCase rdf:about="http://www.opengis.net/spec/KML/2.3/conf/level-1/atc-101">
<dc:title xml:lang="en">Document element</dc:title>
<dc:isPartOf rdf:resource="http://www.opengis.net/spec/KML/2.3/conf/level-1"/>
</earl:TestCase>
</earl:test>
<earl:result>
<earl:TestResult rdf:ID="result-atc-101">
<earl:outcome rdf:resource="http://www.w3.org/ns/earl#fail"/>
<dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2015-09-29T11:50:00Z</dc:date>
<dc:title xml:lang="en">XML Schema validation errors found: 2</dc:title>
<dc:description xml:lang="en" rdf:parseType="Literal">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Line 5 - cvc-datatype-valid.1.2.1: 'TRUE' is not a valid value for 'boolean'.</li>
<li>Line 5 - cvc-type.3.1.3: The value 'TRUE' of element 'kml:visibility' is not
valid.</li>
</ul>
</dc:description>
<earl:pointer>
<ptr:PointerCollection>
<ptr:xpointer>element(/1/1/2)</ptr:xpointer>
</ptr:PointerCollection>
</earl:pointer>
<earl:info rdf:parseType="Literal" xml:lang="en">
<test-method status="FAIL" signature="validate()" name="validate" duration-ms="47"
started-at="2015-09-29T11:50:00Z" finished-at="2015-09-29T11:50:00Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[Total validation errors found: 2]]>
</message>
</exception>
</test-method>
</earl:info>
</earl:TestResult>
</earl:result>
</earl:Assertion>
</rdf:RDF>
- conformance classes/levels are denoted by
earl:TestRequirement
statements. - the earl:Software class is a kind of assertor.
- each
earl:TestCase
is linked to (dc:isPartOf) the TestRequirement to which it belongs. - include request and response messages for failing tests
- Evaluation and Report Language (EARL) 1.0 Schema (W3C Working Draft)
- HTTP Vocabulary in RDF 1.0 (W3C Working Draft)
- Pointer Methods in RDF 1.0 (W3C Working Draft)
- Representing Content in RDF 1.0 (W3C Working Draft)
- DCMI Metadata Terms