Page Tools:
Wiki Relationships:
Admin Tools:
Test Results Publication Interface
Contents |
Overview
To achieve SpikeSource's vision of architecture of participation for open source testing, there is a need for standards to communicate information.
TRPI defines a public interface for interacting with customers, independent software vendors (ISVs), and open source projects. The interface specifies a data format for exchanging test results.
Interface
The data exchange format is specified by an xml-schema. trpi-schema view
Sample
<component name="product" version="5.2.27"
xmlns="http://www.spikesource.com/xsd/2005/04/TRPI">
<description><![CDATA[
Multi-Line
description]]>
</description>
<summary>Single line summary</summary>
<license>OSL</license>
<vendor>The Product</vendor>
<release>5.2</release>
<url>http://mycompanyurl/</url>
<root>http://mycompanyurl/build-testresults/2005/04/03</root>
<platform>fedora-1-i386</platform>
<build status="pass">
<log-file name="build1.log" path="logs/build"/>
<log-file name="build2.log" path="logs/build"/>
</build>
<test log-filename="test1.log" path="logs/test" suite-type="unit">
<result executed="3150" passed="3143" failed="2" skipped="5"/>
<expected-result executed="3150" passed="3145" failed="0" skipped="5"/>
<expected-result executed="3150" passed="3145" failed="0" skipped="5" platform="fedora-1-i386"/>
<report name="report 1" path="logs/test/report1/index.html"/>
<report name="report 2" path="logs/test/report2/default.html"/>
</test>
<test log-filename="test2.log" path="logs/test" suite-type="integration">
<result executed="150" passed="143" failed="1" skipped="1"/>
<expected-result executed="150" passed="143" failed="1" skipped="1" platform="fedora-3-i386"/>
<expected-result executed="150" passed="148" failed="1" skipped="1" platform="rhel-3es-i386"/>
<report name="report 1" path="logs/test/report1/index.html"/>
<report name="report 2" path="logs/test/report2/default.html"/>
</test>
<coverage-report percentage="64" path="logs/test/coverage/report/index.html"/>
<code-convention-report path="test/checkstyle/report/index.html"/>
</component>
Feedback
Tell us what you think. We appreciate your feedback.
Most Recent |
Most Popular |
Most Active Categories |
| Back To Top | Add New Article | Printable Page |

Testing
