Submitting test suite results to

Dear implementors,

I've cooked up an XML format for reporting test suite results. It's defined
by the schema at (or .rng).
(Alas, there's no documentation yet.)

For an example of the format, you can download the XML Calabash report

I'm open to suggestions for changes/improvements.

As an added incentive to use the format :-), I've created a web
service that will allow you to submit results in that format to and have the results posted immediately. Like
the XML Calabash report at

Send me the short name that you would like to use to identify your
implementation and a password that you'd like and I'll set it up.

The short name will appear in the URI:<shortname>

If you don't want to make the results of public, but you want to
submit them to the WG, let me know and I'll setup something for that
(but first, I'll try to persuade you to publish your results!).

And finally, here's the pipeline that I use to run the tests and
submit the results. It's actually a fairly interesting pipeline.
Questions and/or suggestions for improvements most welcome.

<p:declare-step xmlns:p=""
		exclude-inline-prefixes="c cx"
<p:output port="result"/>
<p:option name="host" select="''"/>
<p:option name="username" select="'calabash'"/>
<p:option name="password" select="''"/>

<p:documentation xmlns="">
  <p>This pipeline runs the XProc test suite and reports the results.</p>
  <p>It has three options: <code>host</code>, <code>username</code>, and
  <p>The <code>host</code> option is used to specify the host to use
  in the URIs of test suite documents. (Because Norm has a local copy of
  <a href=""></a>.)</p>
  <p>The <code>username</code> and <code>password</code> are used to submit
  the test results to <a href=""></a>.
  If run without a password, it simply outputs the report document.</p>

<p:string-replace match="uri/text()">
  <p:input port="source">
  <p:with-option name="replace"

<p:exec command="/projects/src/calabash/runtests">
  <p:input port="source">
  <p:with-option name="args" select="string-join(//uri,' ')"/>

  <p:when test="$password = ''">
    <p:wrap wrapper="c:body" match="/">
      <p:input port="source" select="/c:result/*"/>

    <p:add-attribute match="c:body"

    <p:wrap wrapper="c:request" match="/"/>

    <p:add-attribute attribute-name="password" match="/c:request">
      <p:with-option name="attribute-value" select="$password"/>

    <p:add-attribute attribute-name="username" match="/c:request">
      <p:with-option name="attribute-value" select="$username"/>

    <p:set-attributes match="c:request">
      <p:input port="attributes">
	  <c:request href=""
		     method="post" auth-method="Basic"



                                        Be seeing you,

Norman Walsh <> | Men are more like the times they live            | in than they are like their
                              | fathers.--Ali Ibn-abi-talib

Received on Thursday, 4 December 2008 12:40:54 UTC