A Higher Order Generative Framework for Weaving Traceability Links into a Code Generator for Web Application Testing

  • Authors:
  • Piero Fraternali;Massimo Tisi

  • Affiliations:
  • Dipartimento di Elettronica e Informazione, Politecnico di Milano, Milano, Italy I-20133;Dipartimento di Elettronica e Informazione, Politecnico di Milano, Milano, Italy I-20133

  • Venue:
  • ICWE '9 Proceedings of the 9th International Conference on Web Engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Model Driven Engineering is extending its reach beyond the generation of code from Platform Independent Models (PIMs), to all the phases of the software life-cycle. This paper presents an approach to exploit PIMs to ease regression testing, whereby developers can record and replay testing sessions and investigate testing failures on the application model, thanks to traceability links automatically inserted in the generated code. The core of the approach is a modified version of the model transformation for code generation, obtained by applying a Higher Order Transformation (HOT), that is a transformation that takes in input a transformation (the original code generator) and produces another transformation (the augmented code generator). The HOT weaves into the code generator additional rules producing traceability clues that help developers link any error to the model features likely to cause it.