Improving Constraint-Based Testing with Dynamic Linear Relaxations - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2007

Improving Constraint-Based Testing with Dynamic Linear Relaxations

Tristan Denmat
  • Fonction : Auteur
  • PersonId : 830865
Mireille Ducassé

Résumé

Constraint-Based Testing (CBT) is the process of generating test cases against a testing objective by using constraint solving techniques. In CBT, testing objectives are given under the form of properties to be satisfied by program's input/output. Whenever the program or the properties contain disjunctions or multiplications between variables, CBT faces the problem of solving non-linear constraint systems. Currently, existing CBT tools tackle this problem by exploiting a finite-domains constraint solver. But, solving a non-linear constraint system over finite domains is NP hard and CBT tools fail to handle properly most properties to be tested. In this paper, we present a CBT approach where a finite domain constraint solver is enhanced by Dynamic Linear Relaxations (DLRs). DLRs are based on linear abstractions derived during the constraint solving process. They dramatically increase the solving capabilities of the solver in the presence of non-linear constraints without compromising the completeness or soundness of the overall CBT process. We implemented DLRs within the CBT tool TAUPO that generates test data for programs written in C. The approach has been validated on difficult non-linear properties over a few (academic) C programs.
Fichier principal
Vignette du fichier
issre07.pdf (329.96 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00180513 , version 1 (19-10-2007)

Identifiants

  • HAL Id : hal-00180513 , version 1

Citer

Tristan Denmat, Arnaud Gotlieb, Mireille Ducassé. Improving Constraint-Based Testing with Dynamic Linear Relaxations. the 18th IEEE International Symposium on Software Reliability Engineering (ISSRE'07), Nov 2007, France. pp.00-00. ⟨hal-00180513⟩
364 Consultations
160 Téléchargements

Partager

Gmail Facebook X LinkedIn More