Skip to Main Content (Press Enter)

Logo UNICH
  • ×
  • Home
  • Degrees
  • Courses
  • Jobs
  • People
  • Outputs
  • Organizations
  • Third Mission
  • Projects
  • Expertise & Skills

UNI-FIND
Logo UNICH

|

UNI-FIND

unich.it
  • ×
  • Home
  • Degrees
  • Courses
  • Jobs
  • People
  • Outputs
  • Organizations
  • Third Mission
  • Projects
  • Expertise & Skills
  1. Outputs

Generation of test data structures using Constraint Logic Programming

Conference Paper
Publication Date:
2012
abstract:
The goal of Bounded-Exhaustive Testing (BET) is the automatic generation of all the test cases satisfying a given invariant, within a given bound. When the input has a complex structure, the development of correct and efficient generators becomes a very challenging task. In this paper we use Constraint Logic Programming (CLP) to systematically develop generators of structurally complex test data. Similarly to filtering-based test generation, we follow a declarative approach which allows us to separate the issue of (i) defining the test structure and invariant, from that of (ii) generating admissible test input instances. This separation helps improve the correctness of the developed test case generators. However, in contrast with filtering approaches, we rely on a symbolic representation and we take advantage of efficient search strategies provided by CLP systems for generating test instances. Through some experiments on examples taken from the literature on BET, we show that CLP, by combining the use of constraints and recursion, allows one to write intuitive and easily understandable test generators. We also show that these generators can be much more efficient than those built using ad-hoc filtering-based test generation tools like Korat.
Iris type:
4.1 Contributo in Atti di convegno
Keywords:
Logic Programming, Test Input, Coverage Criterion, Symbolic Execution, Program Transformation
List of contributors:
Senni, Valerio; Fioravanti, Fabio
Authors of the University:
FIORAVANTI Fabio
Handle:
https://ricerca.unich.it/handle/11564/367506
Book title:
Proceedings of the 6th International Conference on Tests & Proofs (TAP 2012)
Published in:
LECTURE NOTES IN COMPUTER SCIENCE
Journal
LECTURE NOTES IN COMPUTER SCIENCE
Series
  • Overview

Overview

URL

https://link.springer.com/chapter/10.1007/978-3-642-30473-6_10
  • Use of cookies

Powered by VIVO | Designed by Cineca | 26.4.3.0