Using genetic algorithms to generate test sequences for complex timed systems

作者:Nunez Alberto*; Merayo Mercedes G; Hierons Robert M; Nunez Manuel
来源:Soft Computing, 2013, 17(2): 301-315.
DOI:10.1007/s00500-012-0894-5

摘要

The generation of test data for state-based specifications is a computationally expensive process. This problem is magnified if we consider that time constraints have to be taken into account to govern the transitions of the studied system. The main goal of this paper is to introduce a complete methodology, supported by tools, that addresses this issue by representing the test data generation problem as an optimization problem. We use heuristics to generate test cases. In order to assess the suitability of our approach we consider two different case studies: a communication protocol and the scientific application BIPS3D. We give details concerning how the test case generation problem can be presented as a search problem and automated. Genetic algorithms (GAs) and random search are used to generate test data and evaluate the approach. GAs outperform random search and seem to scale well as the problem size increases. It is worth to mention that we use a very simple fitness function that can be easily adapted to be used with other evolutionary search techniques.

  • 出版日期2013-2