XMODEL-BASED TESTING OF XSLT APPLICATIONS

Antonia Bertolino, Jinghua Gao, Eda Marchetti, Andrea Polini

2007

Abstract

Model-based testing is nowadays the emerging paradigm for software testing in many domains. In the Web arena XML Schema is becoming the technology of reference to describe data structure and applications input domains. The proposed tool (TAXI - Testing by Automatically generated XML Instances) exploits such a model to automatically derive correct XML instances applying the well-known Category-partition methodology. In this paper we introduce an improvement of TAXI to test XSLT Stylesheets. Indeed, with XSLT Stylesheets increasingly getting larger and more complex, their correctness becomes a crucial factor for software quality and hence we believe that they need careful validation. Two different case studies illustrate the approach to the validation of XML to XML and XML to XHTML transformations.

References

  1. Alster (2006). Alster-XSLT Unit Testing Framework. http://alster.sourceforge.net/.
  2. Bertolino, A., Gao, J., Marchetti, E., and Polini, A. (2005). Partition testing from xml schema. Technical report, ISTI-CNR. Technical Report n. ISTI-2005-TR-45.
  3. Bertolino, A., Gao, J., Marchetti, E., and Polini, A. (2006). Systematic generation of xml instances to test complex software applications. In Rapid Integration in Software Engineering, (RISE 2006). to appear in LNCS. Geneve, Switzerland.
  4. la Riva, C. D., Garca-Fanjul, J., and Tuya, J. (2006). A partition-based approach for xpath testing. Tahiti, French Polynesia. IARIA, IEEE Computer Society.
  5. Ostrand, T. and Balcer, M. (1988). The category-partition method for specifying and generating functional tests. Communications of ACM, 31(6).
  6. Radajewski, J. and Daniel, A. (2006). Utf-x: Unit testing framework - xslt. http://utf-x.sourceforge.net/.
  7. Schematron (2006). http://www.schematron.com/.
Download


Paper Citation


in Harvard Style

Bertolino A., Gao J., Marchetti E. and Polini A. (2007). XMODEL-BASED TESTING OF XSLT APPLICATIONS . In Proceedings of the Third International Conference on Web Information Systems and Technologies - Volume 2: WEBIST, ISBN 978-972-8865-78-8, pages 282-288. DOI: 10.5220/0001284202820288


in Bibtex Style

@conference{webist07,
author={Antonia Bertolino and Jinghua Gao and Eda Marchetti and Andrea Polini},
title={XMODEL-BASED TESTING OF XSLT APPLICATIONS},
booktitle={Proceedings of the Third International Conference on Web Information Systems and Technologies - Volume 2: WEBIST,},
year={2007},
pages={282-288},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001284202820288},
isbn={978-972-8865-78-8},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Third International Conference on Web Information Systems and Technologies - Volume 2: WEBIST,
TI - XMODEL-BASED TESTING OF XSLT APPLICATIONS
SN - 978-972-8865-78-8
AU - Bertolino A.
AU - Gao J.
AU - Marchetti E.
AU - Polini A.
PY - 2007
SP - 282
EP - 288
DO - 10.5220/0001284202820288