W3C home > Mailing lists > Public > www-voice@w3.org > January to March 2013

Re: some tests for SCXML

From: Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de>
Date: Wed, 27 Mar 2013 23:51:11 +0000
To: Jim Barnett <Jim.Barnett@genesyslab.com>
CC: "VBWG Public (www-voice@w3.org)" <www-voice@w3.org>
Message-ID: <073DFB05-9ACC-4B28-9BC9-10BFF438447F@tk.informatik.tu-darmstadt.de>
Hey Jim,

I was about to integrate the tests into Jacob's scxml test framework, but quite a few of the links to tests point to the wrong file or result in a 404:
http://validator.w3.org/checklink?uri=http%3A%2F%2Fwww.w3.org%2FVoice%2F2013%2Fscxml-irp%2F&hide_type=all&depth=&check=Check

Best regards
Stefan

On Mar 18, 2013, at 8:10 PM, Jim Barnett <Jim.Barnett@genesyslab.com<mailto:Jim.Barnett@genesyslab.com>> wrote:

I have posted the tests for sections 3 and 4 of the SCXML spec.  There are about 50 tests overall, and I will add the tests for the remaining sections of the spec over the next few weeks.  The tests are linked from section 6 of this document,  http://www.w3.org/Voice/2013/scxml-irp/ .  The document and the tests should be publicly accessible.

As you will see from looking at section 5.3 of the doc and the tests themselves, they are not written in scxml directly, but in a higher-level notation that abstracts away the data model.  To run a test, you must put it through an XSLT style sheet to concrete scxml with a datamodel that suits your platform, etc.   Section 5.3 links to style sheets that convert to the XPath and ECMAScript datamodels.

There may be errors in the tests or in the document itself.  I have run the tests  through the XPath stylesheet (= data model) on Johanís system, and it passes all of them except 403c.  I havenít tested the ECMAScript stylesheet.

The document also asks for people to submit their test results.  We donít need that at this point, but we will at a later stage of the W3C process (at which point the document will be officially published.)   Thereís a lot of boilerplate in the document, most of it copied from another spec, so parts of it may be out of date or irrelevant.

Let me know if you have problems with the doc or the tests.

-          Jim
Received on Wednesday, 27 March 2013 23:51:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 27 March 2013 23:51:48 UTC