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

some tests for SCXML

From: Jim Barnett <Jim.Barnett@genesyslab.com>
Date: Mon, 18 Mar 2013 19:10:06 +0000
To: "VBWG Public (www-voice@w3.org)" <www-voice@w3.org>
Message-ID: <57A15FAF9E58F841B2B1651FFE16D2810314DD@GENSJZMBX02.msg.int.genesyslab.com>
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 Monday, 18 March 2013 19:10:35 GMT

This archive was generated by hypermail 2.3.1 : Monday, 18 March 2013 19:10:41 GMT