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.

OSLC Quality Management 2.0 Appendix A: Samples

An appendix of the OSLC Quality Management 2.0 Specification

TestPlan RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:oslc_qm="http://open-services.net/ns/qm#">

    <oslc_qm:TestPlan
      rdf:about="http://qmprovider.com/plans/1234">

      <dcterms:title> Pet Store </dcterms:title>
      <dcterms:description> Test the Pet Store application. </dcterms:description>
      <dcterms:identifier> 1234 </dcterms:identifier>

      <dcterms:subject> samples </dcterms:subject>

      <dcterms:creator rdf:resource="http://myserver/myapp/users/joe" />
      <dcterms:contributor rdf:resource="http://myserver/myapp/users/bob" />

      <dcterms:created> 2008-09-16T08:42:11.265Z </dcterms:created >
      <dcterms:modified> 2010-03-22T12:54:09.577Z </dcterms:modified>

      <oslc_qm:validatesRequirementCollection rdf:resource="http://rmprovider.com/reqsets/10" />
      <oslc_qm:usesTestCase rdf:resource="http://qmprovider.com/cases/33" />
      <oslc_qm:relatedChangeRequest rdf:resource="http://cmprovider.com/tasks/96" />

    </oslc_qm:TestPlan>
</rdf:RDF>

TestCase RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:oslc_qm="http://open-services.net/ns/qm#">

    <oslc_qm:TestCase
      rdf:about="http://qmprovider.com/cases/33">

      <dcterms:title> Secure Login </dcterms:title>
      <dcterms:description> Login to the application using https </dcterms:description>
      <dcterms:identifier> 567 </dcterms:identifier>

      <dcterms:subject> security </dcterms:subject>

      <dcterms:creator rdf:resource="http://myserver/myapp/users/joe" />
      <dcterms:contributor rdf:resource="http://myserver/myapp/users/bob" />

      <dcterms:created> 2008-09-16T08:42:11.265Z </dcterms:created >
      <dcterms:modified> 2010-03-22T12:54:09.577Z </dcterms:modified>

      <oslc_qm:validatesRequirement rdf:resource="http://rmprovider.com/reqs/11" />
      <oslc_qm:testsChangeRequest rdf:resource="http://cmprovider.com/planitems/3" />

      <oslc_qm:usesTestScript rdf:resource="http://qmprovider.com/scripts/789" />
      <oslc_qm:relatedChangeRequest rdf:resource="http://cmprovider.com/tasks/96" />

    </oslc_qm:TestCase>
</rdf:RDF>

TestScript RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:oslc_qm="http://open-services.net/ns/qm#">

    <oslc_qm:TestScript
      rdf:about="http://qmprovider.com/scripts/789">

      <dcterms:title> Setup SSL </dcterms:title>
      <dcterms:description> Setup the connection to port 443 </dcterms:description>
      <dcterms:identifier> 789 </dcterms:identifier>

      <dcterms:creator rdf:resource="http://myserver/myapp/users/joe" />
      <dcterms:contributor rdf:resource="http://myserver/myapp/users/bob" />

      <dcterms:created> 2008-09-16T08:42:11.265Z </dcterms:created >
      <dcterms:modified> 2010-03-22T12:54:09.577Z </dcterms:modified>

      <oslc_qm:validatesRequirement rdf:resource="http://rmprovider.com/reqs/11" />
      <oslc_qm:relatedChangeRequest rdf:resource="http://cmprovider.com/tasks/96" />

    </oslc_qm:TestScript>
</rdf:RDF>

TestExecutionRecord RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:oslc_qm="http://open-services.net/ns/qm#">

    <oslc_qm:TestExecutionRecord
      rdf:about="http://qmprovider.com/ters/34">

      <dcterms:title> Secure Login Mozilla AIX </dcterms:title>
      <dcterms:identifier> 33 </dcterms:identifier>

      <dcterms:creator rdf:resource="http://myserver/myapp/users/joe" />
      <dcterms:contributor rdf:resource="http://myserver/myapp/users/bob" />

      <dcterms:created> 2008-09-16T08:42:11.265Z </dcterms:created >
      <dcterms:modified> 2010-03-22T12:54:09.577Z </dcterms:modified>

      <oslc_qm:blockedByChangeRequest rdf:resource="http://cmprovider.com/defects/8" />
      <oslc_qm:runsTestCase rdf:resource="http://qmprovider.com/cases/33" />
      <oslc_qm:reportsOnTestPlan rdf:resource="http://qmprovider.com/plans/1234" />
      <oslc_qm:relatedChangeRequest rdf:resource="http://cmprovider.com/tasks/96" />

    </oslc_qm:TestExecutionRecord>
</rdf:RDF>

TestResult RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dcterms="http://purl.org/dc/terms/"
  xmlns:oslc_qm="http://open-services.net/ns/qm#">

    <oslc_qm:TestResult
      rdf:about="http://qmprovider.com/ters/33">

      <dcterms:title> Login succeeded </dcterms:title>
      <dcterms:identifier> 11 </dcterms:identifier>

      <dcterms:created> 2008-09-16T08:42:11.265Z </dcterms:created >
      <dcterms:modified> 2010-03-22T12:54:09.577Z </dcterms:modified>

      <oslc_qm:status> passed </oslc_qm:status>

      <oslc_qm:affectedByChangeRequest rdf:resource="http://cmprovider.com/defects/95" />

      <oslc_qm:executeTestScript rdf:resource="http://qmprovider.com/scripts/789" />
      <oslc_qm:producedByTestExecutionRecord rdf:resource="http://qmprovider.com/ters/34" />
      <oslc_qm:reportsOnTestCase rdf:resource="http://qmprovider.com/cases/33" />
      <oslc_qm:reportsOnTestPlan rdf:resource="http://qmprovider.com/plans/1234" />

    </oslc_qm:TestResult>
</rdf:RDF>
Topic revision: r4 - 25 Aug 2010 - 21:38:33 - TWikiAdminUser
 
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