Changes between Version 1 and Version 2 of BluePrint/XsltTesting


Ignore:
Timestamp:
06/06/14 04:22:22 (8 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/XsltTesting

    v1 v2  
     1== Overview ==
     2
    13A simple means of testing a text transformation is to provide "before" and "after" files, run the transformation on the "before" file, and check that the result matches the "after" file.  (The "after" file is commonly referred to as the "golden" file.)  For our import.xsl and export.xsl stylesheets, we can provide a file in the external format, and an equivalent file in s3xml.  Then running import.xsl on the external file should produce the matching s3xml file, and vice versa for export.xsl -- each can serve as the golden file for the other.
     4
     5To simplify testing xsl stylesheets, and thus encourage people to provide tests, we can supply a test driver that can be called from our regular test process, and to which the user supplies just pointers to the stylesheets and their before and after files.