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
.
TWiki
>
Main Web
>
QmSpecificationV1
>
QmResourceDefinitionsV1
(26 Jan 2010,
TWikiAdminUser
)
(raw view)
<h1 id="titleL2-community">Quality Management Resources Definition</h1> _1.0 SPECIFICATION_ %TOC% ---++ 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 [[http://www.ietf.org/rfc/rfc2119.txt][RFC2119]]. Domain name examples use [[http://tools.ietf.org/html/rfc2606][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: * =oslc_qm= - The [[QmHome][Open Services for Lifecycle Collaboration Quality Management]] namespace - =http://open-services.net/xmlns/qm/1.0= / * =rdf= - [[http://www.w3.org/TR/rdf-syntax-grammar/][RDF XML]] namespace - =http://www.w3.org/1999/02/22-rdf-syntax-ns#= * =dc= - The [[http://dublincore.org/documents/dcmi-terms/][Dublin Core Metadata Terms]] namespace - =http://purl.org/dc/terms/= ---+++ XML Representation of the Test Plan Resource The media type used for this representation MUST be =application/x-oslc-qm-testplan-1.0+xml=. <table width="1108" cellspacing="0" cellpadding="0" height="176" border="1"><tbody><tr><td colspan="2" valign="top"> *XML Representation Summary:* testplan *Element* </td> </tr> <tr> <td colspan="2" valign="top"><oslc_qm:testplan rdf:about = xsd:anyURI > <br /> _Content_: (dc:title, dc:identifier, dc:description?, dc:creator?, dc:modified?)<br /> </oslc_qm:testplan> </td> </tr> <tr> <td valign="top"> *Property* </td> <td valign="top"> *Representation* </td> </tr> <tr> <td valign="top">dc:title</td> <td valign="top">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.</td> </tr> <tr> <td valign="top">dc:identifier</td> <td valign="top">The *required*, *read-only* identifier string. This is assigned by a quality management system when a resource has been created.</td> </tr> <tr> <td valign="top">dc:description</td> <td valign="top">The *optional* description string. This element comes from the DC namespace, allowing tools completely unaware of the quality management domain to access this element. </td> </tr> <tr> <td valign="top">dc:creator</td> <td valign="top">The *optional*, *read-only* creator element, identifying the originating user of this resource.</td> </tr> <tr><td>dc:modified <br /></td><td>The *optional*, *read-only* modified date time which must conform to [[http://tools.ietf.org/html/rfc3339][RFC3339]] format </td></tr><tr><td>rdf:about<br /></td><td>The *optional*, *read-only* URI of the resource </td></tr></tbody> </table> ---++++ Example <verbatim><?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> </verbatim> ---++ 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: * =oslc_qm= - The [[QmHome][Open Services for Lifecycle Collaboration Quality Management]] namespace - =http://open-services.net/xmlns/qm/1.0= / * =rdf= - [[http://www.w3.org/TR/rdf-syntax-grammar/][RDF XML]] namespace - =http://www.w3.org/1999/02/22-rdf-syntax-ns#= * =dc= - The [[http://dublincore.org/documents/dcmi-terms/][Dublin Core Metadata Terms]] namespace - =http://purl.org/dc/terms/= ---+++ XML Representation of the Test Case Resource The media type used for this representation MUST be =application/x-oslc-qm-testcase-1.0+xml=. <table width="1108" cellspacing="0" cellpadding="0" height="176" border="1"><tbody><tr><td colspan="2" valign="top"> *XML Representation Summary:* testcase *Element* </td> </tr> <tr> <td colspan="2" valign="top"><oslc_qm:testcase rdf:about = xsd:anyURI > <br /> _Content_: (dc:title, dc:identifier, dc:description?, dc:creator?, dc:modified?)<br /> </oslc_qm:testcase> </td> </tr> <tr> <td valign="top"> *Property* </td> <td valign="top"> *Representation* </td> </tr> <tr> <td valign="top">dc:title</td> <td valign="top">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.</td> </tr> <tr> <td valign="top">dc:identifier</td> <td valign="top">The *required*, *read-only* identifier string. This is assigned by a quality management system when a resource has been created.</td> </tr> <tr> <td valign="top">dc:description</td> <td valign="top">The *optional* description string. This element comes from the DC namespace, allowing tools completely unaware of the quality management domain to access this element. </td> </tr> <tr> <td valign="top">dc:creator</td> <td valign="top">The *optional*, *read-only* creator element, identifying the originating user of this resource.</td> </tr> <tr><td>dc:modified <br /></td><td>The *optional*, *read-only* modified date time which must conform to [[http://tools.ietf.org/html/rfc3339][RFC3339]] format </td></tr><tr><td>rdf:about</td><td>The *optional*, *read-only* URI of the resource<br /></td></tr></tbody> </table> ---++++ Example <verbatim><?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> </verbatim> ---++ 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 <verbatim><?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> </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r9
<
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r9 - 26 Jan 2010 - 15:58:25 -
TWikiAdminUser
Main.QmResourceDefinitionsV1 moved from Main.QmResourceDefinitions on 06 Nov 2009 - 22:34 by
PaulMcMahan
-
put it back
Main
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
Sandbox
TWiki
Български
Cesky
Dansk
Deutsch
English
Español
Français
Italiano
日本語
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
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