Changes between Initial Version and Version 1 of Training/TestingXSLT

Show
Ignore:
Timestamp:
11/03/08 07:07:17 (23 months ago)
Author:
tkg
Comment:

Sample Course Outline: Testing XSLT.

Legend:

Unmodified
Added
Removed
Modified
  • Training/TestingXSLT

    v1 v1  
     1= Sample Course Outline: Testing XSLT = 
     2 
     3Provides a grounding in approaches to testing XSLT. 
     4 
     5This course suits organisations looking to improve the quality of their XSLT and the quality of the output from their XSLT but have not yet settled on an approach or a particular tool set. 
     6 
     7Creating a working stylesheet may seem like an end in itself, but once it's written you may want it to run faster or you may not be sure that the output is correct (And if you are sure, how sure are you?). 
     8 
     9Profilers, unit test frameworks, and other tools of conventional programming are similarly available for XSLT but are not widely used. This course surveys the available tools for ensuring the quality of your XSLT. 
     10 
     11There is no one-size-fits-all solution when looking for tools. For example, if you are using Saxon and Ant, then you are looking for a different set of tools than if you are using libXSLT and Makefiles. 
     12 
     13By the end of the course, the participants will: 
     14 
     15    * Understand the strengths and limitations of XSLT profilers 
     16    * Be familiar with available XSLT unit testing frameworks 
     17    * Understand the different types of tests and their purposes 
     18    * Be aware of the limitations of over-reliance on automated testing  
     19 
     20The course includes a number of exercises based on your documents. 
     21 
     22=== Duration: 1/2 day or 1 day, depending on requirements and time allocated for exercises === 
     23 
     24 
     25== Overview of XSLT testing tools == 
     26 
     27Overview of the categories of XSLT and XSL FO testing tools 
     28 
     29== XSLT profilers == 
     30 
     31More detailed look at XSLT profilers and some of the potential for inaccuracy in the reported results 
     32 
     33== XSLT unit testing frameworks == 
     34 
     35A look at the available XSLT unit testing frameworks and their differing technologies and differing approaches. 
     36 
     37== Black box unit testing == 
     38 
     39What tests can you infer from the input and desired output?. 
     40 
     41== White box unit testing == 
     42 
     43Writing tests when you can see the code being tested. 
     44 
     45 - The roles of both 'clean' tests and 'dirty' tests, where the template is supposed to throw an error. 
     46 
     47 - How many tests are enough? 
     48 
     49== XSLV Static Validation tool == 
     50 
     51A different approach to testing transformations 
     52 
     53== Errors not caught by unit testing or static validation == 
     54 
     55Review of the types of errors – misleading comments, off-by-one errors, empty #PCDATA, etc. – that are not caught by either unit testing or static validation. 
     56 
     57== Concluding Remarks == 
     58 
     59Review of the tool types and their strength