1.0 SPECIFICATION
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC2119. Domain name examples use RFC2606.
Test Plan - Used to define the overall process and strategy for testing a system
Test Case - Used to determine whether the system exhibits the correct behavior under a specific set of circumstances
The test plan resource properties are not limited to the ones defined in this specification. It is recommended to contribute resource properties in their own unique namespace, not to reuse those defined in these specifications.
XML namespace abbreviations used in this specification:
oslc_qm
- The Open Services for Lifecycle Collaboration Quality Management namespace - http://open-services.net/xmlns/qm/1.0
/
rdf
- RDF XML namespace - http://www.w3.org/1999/02/22-rdf-syntax-ns#
dc
- The Dublin Core Metadata Terms namespace - http://purl.org/dc/terms/
The media type used for this representation MUST be application/x-oslc-qm-testplan-1.0+xml
.
XML Representation Summary: testplan Element | |
<oslc_qm:testplan rdf:about = xsd:anyURI > Content: (dc:title, dc:identifier, dc:description?, dc:creator?, dc:modified?) </oslc_qm:testplan> | |
Property | Representation |
dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the quality management domain to access this element. This is sometimes also referred to as the headline or summary of the resource. |
dc:identifier | The required, read-only identifier string. This is assigned by a quality management system when a resource has been created. |
dc:description | The optional description string. This element comes from the DC namespace, allowing tools completely unaware of the quality management domain to access this element. |
dc:creator | The optional, read-only creator element, identifying the originating user of this resource. |
dc:modified | The optional, read-only modified date time which must conform to RFC3339 format |
rdf:about | The optional, read-only URI of the resource |
<?xml version="1.0" encoding="UTF-8"?> <oslc_qm:testplan xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/" xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/" rdf:about="http://example.com/plans/1234"> <dc:title> Pet Store </dc:title> <dc:identifier> 1234 </dc:identifier> <dc:description> Test the Pet Store application. </dc:description> <dc:creator> bob@someplace.com </dc:creator> <dc:modified> 2008-09-16T08:42:11.265Z </dc:modified> </oslc_qm:testplan>
The test case resource properties are not limited to the ones defined in this specification. It is recommended to contribute resource properties in their own unique namespace, not to reuse those defined in these specifications.
XML namespace abbreviations used in this specification:
oslc_qm
- The Open Services for Lifecycle Collaboration Quality Management namespace - http://open-services.net/xmlns/qm/1.0
/
rdf
- RDF XML namespace - http://www.w3.org/1999/02/22-rdf-syntax-ns#
dc
- The Dublin Core Metadata Terms namespace - http://purl.org/dc/terms/
The media type used for this representation MUST be application/x-oslc-qm-testcase-1.0+xml
.
XML Representation Summary: testcase Element | |
<oslc_qm:testcase rdf:about = xsd:anyURI > Content: (dc:title, dc:identifier, dc:description?, dc:creator?, dc:modified?) </oslc_qm:testcase> | |
Property | Representation |
dc:title | The required title string. Note that this element comes from the DC namespace, allowing tools unaware of the quality management domain to access this element. This is sometimes also referred to as the headline or summary of the resource. |
dc:identifier | The required, read-only identifier string. This is assigned by a quality management system when a resource has been created. |
dc:description | The optional description string. This element comes from the DC namespace, allowing tools completely unaware of the quality management domain to access this element. |
dc:creator | The optional, read-only creator element, identifying the originating user of this resource. |
dc:modified | The optional, read-only modified date time which must conform to RFC3339 format |
rdf:about | The optional, read-only URI of the resource |
<?xml version="1.0" encoding="UTF-8"?> <oslc_qm:testcase xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/" xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/" rdf:about="http://example.com/cases/4567"> <dc:title> Log In </dc:title> <dc:identifier> 4567 </dc:identifier> <dc:description> Test Log In. </dc:description> <dc:creator> bob@someplace.com </dc:creator> <dc:modified> 2008-09-16T08:42:11.265Z </dc:modified> </oslc_qm:testcase>
A link from a test plan or test case is represented by a URI-valued property (an RDF URI Reference). These links are used to describe binary trace relationships as well as non-trace linkages to other resources. The example below shows a trace relationship "validates requirement" which has been modeled with a property "calm:validatesRequirement". Such properties MAY be multi-valued.
<?xml version="1.0" encoding="UTF-8"?> <oslc_qm:testcase xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/" xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/" xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/" rdf:about="http://example.com/cases/acc/screenread1"> <dc:title>Screen reader accessibility</dc:title> <dc:identifier> screenread1 </dc:identifier> <dc:description> Test accessibility of product for screen readers. </dc:description> <calm:testsPlanItem rdf:resource="http://rtc.example.com/changerequests/plan1"/> <calm:validatesRequirement rdf:resource="http://rrc1.example.com/requirements/acc100"/> <calm:validatesRequirement rdf:resource="http://rrc2.company.com/requirements/acc200"/> </oslc_qm:testcase>