Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Automated test scripts #11

@feyzo

Description

@feyzo

If you compare the ECMAScript datamodel XSLT generator with the XPath datamodel xslt generator, it looks like the XPath generator might have been used to compile this test:

XPath:

<xsl:template match="//@conf:systemVarExpr">
     <xsl:attribute name="expr">
        $
         <xsl:value-of select="."/>
     </xsl:attribute>
</xsl:template>

ECMAScript:

<xsl:template match="//@conf:systemVarExpr">
     <xsl:attribute name="expr">
          <xsl:value-of select="."/>
     </xsl:attribute>
</xsl:template>

So, I would recommend re-downloading confEcma and using xsltproc to regenerate test321: http://www.w3.org/Voice/2013/scxml-irp/confEcma.xsl

I believe this should remove the ‘$’ variable prefix and give us the proper test.

We may want to run this on other system tests.

I also noticed that there’s a manifest: http://www.w3.org/Voice/2013/scxml-irp/manifest.xml

Rather than checking these tests into the SCXML test framework, we may want to write a script that automates the process of downloading each test, generating SCXML from txml with xsltproc, running the SCXML tests using SCXML test framework, and producing a report. We should create a new Github issue for this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions