Grammar-Based Testing using Realistic Domains in PHP - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Grammar-Based Testing using Realistic Domains in PHP

Résumé

This paper presents an integration of grammar-based testing in a framework for contract-based testing in PHP. It relies on the notion of realistic domains, that make it possible to assign domains to data, by means of contract assertions written inside the source code of a PHP application. Then a test generation tool uses the contracts to generate relevant test data for unit testing. Finally a runtime assertion checker validates the assertions inside the contracts (among others membership of data to realistic domains) to establish the conformance verdict. We introduce here the possibility to generate and validate complex textual data specified by a grammar written in a dedicated grammar description language. This approach is tool-supported and experimented on the validation of web applications.
Fichier principal
Vignette du fichier
EDGB12.pdf (277.08 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00931662 , version 1 (16-01-2014)

Identifiants

  • HAL Id : hal-00931662 , version 1

Citer

Ivan Enderlin, Frédéric Dadeau, Alain Giorgetti, Fabrice Bouquet. Grammar-Based Testing using Realistic Domains in PHP. A-MOST 2012, 8th Workshop on Advances in Model Based Testing, joint to the ICST'12 IEEE Int. Conf. on Software Testing, Verification and Validation, Jan 2012, Canada. pp.509--518. ⟨hal-00931662⟩
145 Consultations
337 Téléchargements

Partager

Gmail Facebook X LinkedIn More