Including XSLT stylesheets testing in continuous integration process
Faculté des lettres et sciences humaines, Université de Sherbrooke
XSLT stylesheets are just like any other programming language code units: they need to be written, debugged, refactored and tested. In these days of « Agility », refactoring and continuous integration play major roles in development process. How to assert that XSLT stylesheets refactoring are still producing correct outputs? How to early detect defects? This paper proposes a practical approach to include XSLT stylesheets testing in continuous integration process, based on XSpec, a Behavior Driven Development (BDD) framework for XSLT, and on Java helpers provided by Jxsl, a Java XSL code library.