Towards Constraint Logic Programming over Strings for Test Data Generation
Logic in Computer Science
2019-08-28 v1 Software Engineering
Abstract
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.
Cite
@article{arxiv.1908.10203,
title = {Towards Constraint Logic Programming over Strings for Test Data Generation},
author = {Sebastian Krings and Joshua Schmidt and Patrick Skowronek and Jannik Dunkelau and Dierk Ehmke},
journal= {arXiv preprint arXiv:1908.10203},
year = {2019}
}
Comments
Part of DECLARE 19 proceedings