Towards Constraint Logic Programming over Strings for Test Data Generation

08/27/2019
by   Sebastian Krings, et al.
0

In order to properly test software, test data of a certain quality is needed. However, useful test data is often unavailable: Existing or hand-crafted data might not be diverse enough to enable desired test cases. Furthermore, using production data might be prohibited due to security or privacy concerns or other regulations. At the same time, existing tools for test data generation are often limited. In this paper, we evaluate to what extent constraint logic programming can be used to generate test data, focussing on strings in particular. To do so, we introduce a prototypical CLP solver over string constraints. As case studies, we use it to generate IBAN numbers and calender dates.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/01/2019

Practical Model-driven Data Generation for System Testing

The ability to generate test data is often a necessary prerequisite for ...
research
05/17/2023

Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarks

Data contamination has become especially prevalent and challenging with ...
research
09/18/2017

Searching for test data with feature diversity

There is an implicit assumption in software testing that more diverse an...
research
05/21/2020

Unsupposable Test-data Generation for Machine-learned Software

As for software development by machine learning, a trained model is eval...
research
07/31/2010

Evolutionary Approach to Test Generation for Functional BIST

In the paper, an evolutionary approach to test generation for functional...
research
07/28/2023

Exploring a Test Data-Driven Method for Selecting and Constraining Metamorphic Relations

Identifying and selecting high-quality Metamorphic Relations (MRs) is a ...
research
11/29/2017

Enhancing Path-Oriented Test Data Generation Using Adaptive Random Testing Techniques

In this paper, we have developed an approach to generate test data for p...

Please sign up or login with your details

Forgot password? Click here to reset