Constraint-based Fitness Function for Search-Based Software Testing. Sakti, A., Gu�h�neuc, Y., & Pesant, G. In Gomes, C. & Sellmann, M., editors, Proceedings of the 10<sup>th</sup> International Conference on Integration of Artificial Intelligence and Operations Research in Constraint Programming (CPAIOR), pages 378–385, May, 2013. Springer. Short paper. 4 pages.
Constraint-based Fitness Function for Search-Based Software Testing [pdf]Paper  abstract   bibtex   
Evolutionary testing approach is a powerful automated technique for generating test inputs. Its goal is to reach a branch or a statement in a program under test. One major limit of this approach is its fitness function that does not offer enough information to orient the search to reach a test target with the existence of nested predicates. To address the problem, we propose a new fitness function based on constraint programming. The level of difficulty to satisfy a constraint is the main factor for ranking test candidates: We modulate predicates as a constraint satisfaction problem, then the difficulty-level of a constraint is determined according to the its impact on the search space. Difficulty level is a novel fitness function have been designed to deal with nested predicates and its usefulness have been improved based on benchmarks from the literature.

Downloads: 0