This wiki is locked. Future workgroup activity and specification development must take place at our new wiki. For more information, see this blog post about the new governance model and this post about changes to the website.

Quality Management Resources Definition

1.0 SPECIFICATION

Introduction

Notation and Conventions

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.

Terminology

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

Test Plan Resource

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:

XML Representation of the Test Plan Resource

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

Example

<?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> 

Test Case Resource

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:

XML Representation of the Test Case Resource

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:aboutThe optional, read-only URI of the resource

Example

<?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> 

Links

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.

Example

<?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> 
Edit | Attach | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r8 - 21 Dec 2009 - 15:03:42 - PaulMcMahan
Main.QmResourceDefinitionsV1 moved from Main.QmResourceDefinitions on 06 Nov 2009 - 22:34 by PaulMcMahan - put it back
 
This site is powered by the TWiki collaboration platform Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use
Ideas, requests, problems regarding this site? Send feedback