Constraint Reasoning in FocalTest

Abstract : Property-based testing implies selecting test data satisfying coverage criteria on user-specified properties. However, current automatic test data generation techniques adopt direct generate-and-test approaches for this task. In FocalTest, a testing tool designed to generate test data for programs and properties written in the functionnal language Focal, test data are generated at random and rejected when they do not satisfy selected coverage criteria. In this paper, we improve FocalTest with a test-and-generate approach, through the usage of constraint reasoning. A particular difficulty is the generation of test data satisfying MC/DC on the precondition of a property, when it contains function calls with pattern matching and higher-order functions. Our experimental results show that a non-naive implementation of constraint reasoning on these constructions outperform traditional generation techniques when used to find test data for testing properties.
Type de document :
Communication dans un congrès
ICSOFT, Jul 2010, Athènes, Greece. 2010
Liste complète des métadonnées

Littérature citée [21 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00699233
Contributeur : Arnaud Gotlieb <>
Soumis le : dimanche 20 mai 2012 - 07:10:45
Dernière modification le : vendredi 16 novembre 2018 - 01:39:32
Document(s) archivé(s) le : mardi 21 août 2012 - 02:20:40

Fichier

paper.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-00699233, version 1

Citation

Mathieu Carlier, Catherine Dubois, Arnaud Gotlieb. Constraint Reasoning in FocalTest. ICSOFT, Jul 2010, Athènes, Greece. 2010. 〈hal-00699233〉

Partager

Métriques

Consultations de la notice

381

Téléchargements de fichiers

127